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
apply
3.2.1-RC1-bin-20220831-398b72e-NIGHTLY compiles correctly with 3.2.0-RC1
3.2.1-RC1-bin-20220831-398b72e-NIGHTLY
3.2.0-RC1
object Obj { def apply[L]: Unit = ??? extension (make: Unit) def apply(value: Int): String = ??? def test: String = Obj[Int](1) }
[error] ./sagerbug.scala:6:22: method apply in object Obj does not take parameters [error] def test: String = Obj[Int](1) [error] ^^^^^^^^
Compile correctly. i.e. Obj[Int](1) should get expanded to calls to both apply methods.
Obj[Int](1)
The text was updated successfully, but these errors were encountered:
bisect points to 882b435
Sorry, something went wrong.
Only look for synthetic applies under TypeApply with inferred arguments
f981f32
fixes lampepfl#15969
Only look for synthetic applies under TypeApply with inferred argumen…
7f2638c
…ts (#15970) fixes lampepfl#15969
03df624
d6cc40d
KacperFKorban
Successfully merging a pull request may close this issue.
Compiler version
3.2.1-RC1-bin-20220831-398b72e-NIGHTLY
compiles correctly with
3.2.0-RC1
Minimized code
Output
Expectation
Compile correctly.
i.e.
Obj[Int](1)
should get expanded to calls to bothapply
methods.The text was updated successfully, but these errors were encountered: