Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimeCron.apply can't resolve typeclass instance #39

Closed
alonsodomin opened this issue Feb 6, 2017 · 0 comments
Closed

DateTimeCron.apply can't resolve typeclass instance #39

alonsodomin opened this issue Feb 6, 2017 · 0 comments
Labels
Milestone

Comments

@alonsodomin
Copy link
Owner

Method apply in DateTimeCron companion can not summon typeclass instances as it's type signature is wrong:

scala> DateTimeCron[CronExpr]
<console>:21: error: wrong number of type parameters for method apply: [T, DateTime](implicit ev: cron4s.datetime.DateTimeCron[T])cron4s.datetime.DateTimeCron[T] in object DateTimeCron
       DateTimeCron[CronExpr]

Current type signature is:

def apply[T, DateTime](implicit ev: DateTimeCron[T]): DateTimeCron[T]

When it should be:

def apply[T](implicit ev: DateTimeCron[T]): DateTimeCron[T]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant