We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
This works fine in scalac but does not compile with dotty:
scalac
class A object Impl { def foo()(implicit x: A = null): Int = 2 def test: Int = { foo() } }
[error] try/impldef.scala:6: error: no implicit argument of type A found for parameter x of method foo in object Impl$ [error] foo() [error] ^
The text was updated successfully, but these errors were encountered:
Needed for tests/pending/run/Meter.scala.
tests/pending/run/Meter.scala
Sorry, something went wrong.
Handle implicits with default parameters.
bada0dd
Fixes scala#576. run/pending/Meter now compiles; crashes at runtime. Review by @smarter.
Handle implicits with default parameters
4b67dba
1b4e4f5
Fixes scala#576. run/pending/Meter now compiles; crashes at runtime
Merge pull request #1073 from dotty-staging/fix-#576
4be70a5
No branches or pull requests
This works fine in
scalac
but does not compile with dotty:The text was updated successfully, but these errors were encountered: