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
related #11128
3.0.2-RC1
object Outer_Typed { object Inner { class ClassUntyped(x: Int) class ClassTyped[T](x: T) // notice type parameter // ok val _ = new ClassUntyped(42) val _ = new ClassTyped("42") val _ = ClassUntyped(42) val _ = ClassTyped("42") } export Inner._ val _ = new ClassUntyped(42) val _ = new ClassTyped("42") val _ = ClassUntyped(42) val _ = ClassTyped("42") // error: Not found: ClassTyped }
The compiler produces error for val _ = ClassTyped("42") in the Outer_Typed
val _ = ClassTyped("42")
Outer_Typed
Outer_Typed.scala: Not found: ClassTyped
The text was updated successfully, but these errors were encountered:
fix scala#13346: add regression test
0f207e5
fix scala#13346: case class companion is never a singleton mirror
e4b0507
Merge pull request #14985 from dotty-staging/fix-13346
b636633
fix #13346: add regression test
2f64a01
bishabosha
Successfully merging a pull request may close this issue.
related #11128
Compiler version
3.0.2-RC1
Minimized code
Output
The compiler produces error for
val _ = ClassTyped("42")
in theOuter_Typed
Expectation
The text was updated successfully, but these errors were encountered: