Closed
Description
Compiler version
- 3.0.1
- 3.0.2-RC1
Minimized code
object A {
class X { type Blah = Int }
val * = new X
val a: *.Blah = 2
}
Output
[error] 7 | val a: *.Blah = 2
[error] | ^
[error] | end of statement expected but '.' found
[error] one error found
Expectation
Should compile. It does in Scala 3 without the -Ykind-projector
flag.