|
1 | 1 | -- [E039] Reference Error: tests/neg/i14401.scala:6:17 ----------------------------------------------------------------- |
2 | | -6 | def f: Int = x; // error |
| 2 | +6 | def f: Int = x // error |
3 | 3 | | ^ |
4 | | - | x is a forward reference extending over the definition of x (on L7) |
| 4 | + | forward reference to x extends over the definition of x (on line 7) |
5 | 5 | | |
6 | 6 | | longer explanation available when compiling with `-explain` |
7 | 7 | -- [E039] Reference Error: tests/neg/i14401.scala:10:17 ---------------------------------------------------------------- |
8 | | -10 | def f: Int = g; // error |
| 8 | +10 | def f: Int = g // error |
9 | 9 | | ^ |
10 | | - | g (defined on L12) is a forward reference extending over the definition of x (on L11) |
| 10 | + | forward reference to g (defined on line 12) extends over the definition of x (on line 11) |
11 | 11 | | |
12 | 12 | | longer explanation available when compiling with `-explain` |
13 | 13 | -- [E039] Reference Error: tests/neg/i14401.scala:15:17 ---------------------------------------------------------------- |
14 | | -15 | def f: Int = g; // error |
| 14 | +15 | def f: Int = g // error |
15 | 15 | | ^ |
16 | | - | g (defined on L17) is a forward reference extending over the definition of x (on L16) |
| 16 | + | forward reference to g (defined on line 17) extends over the definition of x (on line 16) |
17 | 17 | | |
18 | 18 | | longer explanation available when compiling with `-explain` |
19 | 19 | -- [E039] Reference Error: tests/neg/i14401.scala:31:20 ---------------------------------------------------------------- |
20 | | -31 | } yield a + 27 // error |
| 20 | +31 | yield a + 27 // error |
21 | 21 | | ^ |
22 | | - | ec (defined on L33) is a forward reference extending over the definition of z (on L29) |
| 22 | + | forward reference to ec (defined on line 32) extends over the definition of z (on line 29) |
23 | 23 | | |
24 | 24 | | longer explanation available when compiling with `-explain` |
25 | | --- [E039] Reference Error: tests/neg/i14401.scala:41:28 ---------------------------------------------------------------- |
26 | | -41 | class NotUsed {val xs = args} // error |
| 25 | +-- [E039] Reference Error: tests/neg/i14401.scala:38:28 ---------------------------------------------------------------- |
| 26 | +38 | class NotUsed {val xs = args} // error |
27 | 27 | | ^^^^ |
28 | | - | args (defined on L44) is a forward reference extending over the definition of dummy (on L42) |
| 28 | + | forward reference to args (defined on line 41) extends over the definition of dummy (on line 39) |
29 | 29 | | |
30 | 30 | | longer explanation available when compiling with `-explain` |
0 commit comments