File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11-- [E007] Type Mismatch Error: tests/neg/module-class-name.scala:7:13 --------------------------------------------------
2- 7 | val x: C = C // error: Found: Test.C.type
2+ 7 | val x: C = C // error
33 | ^
44 | Found: Test.C.type
55 | Required: Test.C
66-- [E007] Type Mismatch Error: tests/neg/module-class-name.scala:9:15 --------------------------------------------------
7- 9 | val y: C = f(C) // error: Found: Test.C.type
7+ 9 | val y: C = f(C) // error
88 | ^
99 | Found: Test.C.type
1010 | Required: Test.C
1111-- [E007] Type Mismatch Error: tests/neg/module-class-name.scala:12:14 -------------------------------------------------
12- 12 | val z1: C = z // error: Found: object Test.C
12+ 12 | val z1: C = z // error
1313 | ^
1414 | Found: Test.C.type
1515 | Required: Test.C
1616-- [E007] Type Mismatch Error: tests/neg/module-class-name.scala:13:16 -------------------------------------------------
17- 13 | val z2: Int = z // error: Found: object Test.C
17+ 13 | val z2: Int = z // error
1818 | ^
1919 | Found: Test.C.type
2020 | Required: Int
You can’t perform that action at this time.
0 commit comments