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
➜ dotty git:(master) ./bin/scala -version Starting scala3 REPL... Scala compiler version 3.0.0-M4-bin-SNAPSHOT-git-c3e26df -- Copyright 2002-2021, LAMP/EPFL
[success] Total time: 141 s (02:21), completed Feb 8, 2021, 5:11:07 AM Starting scala3 REPL... scala> trait Pet(val name: String, rest: String): | def f(suffix: String) = s"$name$suffix$rest" | // defined trait Pet scala> class Birdie(override val name: String) extends Pet("huh", "more") // defined class Birdie scala> Birdie("Polly").f("Cracker") val res0: String = PollyCrackerhuh scala>
// huh not more
s/huh/more
Split from #11214 (comment)
The text was updated successfully, but these errors were encountered:
Fix alignment of trait parameters and arguments
b2f1bca
As part of the fix, we now also detect missing trait constructors. Fixes scala#11214 Fixes scala#11344
odersky
Successfully merging a pull request may close this issue.
Compiler version
Minimized code
Output
// huh not more
Expectation
s/huh/more
Split from #11214 (comment)
The text was updated successfully, but these errors were encountered: