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

type of implicit definition needs to be given explicitly #384

Open
exomaus opened this issue Apr 25, 2023 · 0 comments
Open

type of implicit definition needs to be given explicitly #384

exomaus opened this issue Apr 25, 2023 · 0 comments

Comments

@exomaus
Copy link

exomaus commented Apr 25, 2023

In Scala 3.2.2 REPL get this error in examples with implicits.

|implicit def thisMethodNameIsIrrelevant(value: Int) =
|             ^
|           result type of implicit definition needs to be given explicitly
implicit val hourlyRate = BigDecimal(34)
              ^
              type of implicit definition needs to be given explicitly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant