1
- -- [E157] Reference Error: ./ tests/neg-custom-args/fatal-warnings/i4008.scala:6:6
2
- 6 |class ShouldWarn1[A]
1
+ -- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:6:6 ----------------------------------------
2
+ 6 |class ShouldWarn1[A] // error
3
3
| ^
4
- |Invalid reference to a type variable "B" found
5
- | in the user-defined error message "An implicit ShouldWarn1[${B}] is not in scope"
6
- | in the @implicitNotFound annotation argument.
4
+ | Invalid reference to a type variable "B" found
5
+ | in the user-defined error message "An implicit ShouldWarn1[${B}] is not in scope"
6
+ | in the @implicitNotFound annotation argument.
7
7
|
8
- |The variable does not occur in the signature of ShouldWarn1.
9
- -- [E157] Reference Error: ./ tests/neg-custom-args/fatal-warnings/i4008.scala:10:6
10
- 10 |trait ShouldWarn2[B]
8
+ | The variable does not occur in the signature of ShouldWarn1.
9
+ -- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:10:6 ---------------------------------------
10
+ 10 |trait ShouldWarn2[B] // error
11
11
| ^
12
- |Invalid reference to a type variable "A" found
13
- | in the user-defined error message "An implicit ShouldWarn2[${A}] is not in scope"
14
- | in the @implicitNotFound annotation argument.
12
+ | Invalid reference to a type variable "A" found
13
+ | in the user-defined error message "An implicit ShouldWarn2[${A}] is not in scope"
14
+ | in the @implicitNotFound annotation argument.
15
15
|
16
- |The variable does not occur in the signature of ShouldWarn2.
17
- -- [E157] Reference Error: ./ tests/neg-custom-args/fatal-warnings/i4008.scala:14:6
18
- 14 |trait ShouldWarn3[B, C]
16
+ | The variable does not occur in the signature of ShouldWarn2.
17
+ -- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:14:6 ---------------------------------------
18
+ 14 |trait ShouldWarn3[B, C] // error
19
19
| ^
20
- |Invalid reference to a type variable "A" found
21
- | in the user-defined error message "An implicit ShouldWarn3[${A},${B}] is not in scope"
22
- | in the @implicitNotFound annotation argument.
20
+ | Invalid reference to a type variable "A" found
21
+ | in the user-defined error message "An implicit ShouldWarn3[${A},${B}] is not in scope"
22
+ | in the @implicitNotFound annotation argument.
23
23
|
24
- |The variable does not occur in the signature of ShouldWarn3.
25
- -- [E157] Reference Error: ./ tests/neg-custom-args/fatal-warnings/i4008.scala:18:6
26
- 18 |class ShouldWarn4[C, D]
24
+ | The variable does not occur in the signature of ShouldWarn3.
25
+ -- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:18:6 ---------------------------------------
26
+ 18 |class ShouldWarn4[C, D] // error
27
27
| ^
28
- |Invalid reference to a type variable "A" found
29
- | in the user-defined error message "An implicit ShouldWarn4[${A},${B}] is not in scope"
30
- | in the @implicitNotFound annotation argument.
28
+ | Invalid reference to a type variable "A" found
29
+ | in the user-defined error message "An implicit ShouldWarn4[${A},${B}] is not in scope"
30
+ | in the @implicitNotFound annotation argument.
31
31
|
32
- |The variable does not occur in the signature of ShouldWarn4.
33
- -- [E157] Reference Error: ./ tests/neg-custom-args/fatal-warnings/i4008.scala:22:6
34
- 22 |class ShouldWarn5[C, D]
32
+ | The variable does not occur in the signature of ShouldWarn4.
33
+ -- [E157] Reference Error: tests/neg-custom-args/fatal-warnings/i4008.scala:22:6 ---------------------------------------
34
+ 22 |class ShouldWarn5[C, D] // error
35
35
| ^
36
- |Invalid reference to a type variable "Abc" found
37
- | in the user-defined error message "An implicit ShouldWarn5[${C},${Abc}] is not in scope"
38
- | in the @implicitNotFound annotation argument.
36
+ | Invalid reference to a type variable "Abc" found
37
+ | in the user-defined error message "An implicit ShouldWarn5[${C},${Abc}] is not in scope"
38
+ | in the @implicitNotFound annotation argument.
39
39
|
40
- |The variable does not occur in the signature of ShouldWarn5.
40
+ | The variable does not occur in the signature of ShouldWarn5.
0 commit comments