We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Scala 3.5.2
class C()(implicit s: String = ""); C()
method $lessinit$greater$default$1 in object C must be called with () argument
Should compile
Thanks to @SethTisue for the help with minimizing the sample code 🙂
The text was updated successfully, but these errors were encountered:
as a workaround, omitting the empty first parameter list seems to avoid the issue:
scala> class C(using s: String = ""); C() // defined class C val res6: C = C@3991fe6d
Sorry, something went wrong.
No branches or pull requests
Compiler version
Scala 3.5.2
Minimized code
Output
Expectation
Should compile
Thanks to @SethTisue for the help with minimizing the sample code 🙂
The text was updated successfully, but these errors were encountered: