File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
-- [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
3
3
| ^
4
4
| Found: Test.C.type
5
5
| Required: Test.C
6
6
-- [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
8
8
| ^
9
9
| Found: Test.C.type
10
10
| Required: Test.C
11
11
-- [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
13
13
| ^
14
14
| Found: Test.C.type
15
15
| Required: Test.C
16
16
-- [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
18
18
| ^
19
19
| Found: Test.C.type
20
20
| Required: Int
You can’t perform that action at this time.
0 commit comments