|
1 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:9:13 ---------------------------------------------- |
| 1 | +-- Error: tests/neg/i17613b/i17613b.scala:9:13 ------------------------------------------------------------------------- |
2 | 2 | 9 | def foobar[ImTrait](in: D) = in.toString // error
|
3 | 3 | | ^^^^^^^
|
4 | 4 | | Type parameter ImTrait for method foobar shadows the type defined by trait ImTrait in object importTry
|
5 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:10:13 --------------------------------------------- |
| 5 | +-- Error: tests/neg/i17613b/i17613b.scala:10:13 ------------------------------------------------------------------------ |
6 | 6 | 10 | type MySeq[ImTrait] = Seq[D] // error
|
7 | 7 | | ^^^^^^^
|
8 | 8 | | Type parameter ImTrait for type MySeq shadows the type defined by trait ImTrait in object importTry
|
9 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:12:14 --------------------------------------------- |
| 9 | +-- Error: tests/neg/i17613b/i17613b.scala:12:14 ------------------------------------------------------------------------ |
10 | 10 | 12 | def foobar2[ImClass](in: D) = in.toString // error
|
11 | 11 | | ^^^^^^^
|
12 | 12 | | Type parameter ImClass for method foobar2 shadows the type defined by class ImClass in object importTry
|
13 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:13:14 --------------------------------------------- |
| 13 | +-- Error: tests/neg/i17613b/i17613b.scala:13:14 ------------------------------------------------------------------------ |
14 | 14 | 13 | type MySeq2[ImClass] = Seq[D] // error
|
15 | 15 | | ^^^^^^^
|
16 | 16 | | Type parameter ImClass for type MySeq2 shadows the type defined by class ImClass in object importTry
|
17 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:16:24 --------------------------------------------- |
| 17 | +-- Error: tests/neg/i17613b/i17613b.scala:16:24 ------------------------------------------------------------------------ |
18 | 18 | 16 | type TypeLambda[A] = [ImTrait] =>> Map[ImTrait, B] // error
|
19 | 19 | | ^^^^^^^
|
20 | 20 | | Type parameter ImTrait for type TypeLambda shadows the type defined by trait ImTrait in object importTry
|
21 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:17:21 --------------------------------------------- |
| 21 | +-- Error: tests/neg/i17613b/i17613b.scala:17:21 ------------------------------------------------------------------------ |
22 | 22 | 17 | type PolyFun[A] = [ImTrait] => ImTrait => B // error
|
23 | 23 | | ^^^^^^^
|
24 | 24 | | Type parameter ImTrait for type PolyFun shadows the type defined by trait ImTrait in object importTry
|
25 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:23:12 --------------------------------------------- |
| 25 | +-- Error: tests/neg/i17613b/i17613b.scala:23:12 ------------------------------------------------------------------------ |
26 | 26 | 23 | class Foo[T](t: T): // error class parameter shadows some other type
|
27 | 27 | | ^
|
28 | 28 | | Type parameter T for class Foo shadows the type defined by type T in class B
|
29 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:27:15 --------------------------------------------- |
| 29 | +-- Error: tests/neg/i17613b/i17613b.scala:27:15 ------------------------------------------------------------------------ |
30 | 30 | 27 | def intType[List1](x: T) = x.toString() // error
|
31 | 31 | | ^^^^^
|
32 | 32 | | Type parameter List1 for method intType shadows an explicitly renamed type : List1
|
33 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:32:10 --------------------------------------------- |
| 33 | +-- Error: tests/neg/i17613b/i17613b.scala:32:10 ------------------------------------------------------------------------ |
34 | 34 | 32 | given [Int]: Ordering[Int]() // error
|
35 | 35 | | ^^^
|
36 | 36 | | Type parameter Int for method given_Ordering_Int shadows the type defined by class Int in package scala
|
37 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:34:12 --------------------------------------------- |
| 37 | +-- Error: tests/neg/i17613b/i17613b.scala:34:12 ------------------------------------------------------------------------ |
38 | 38 | 34 | class C[M[List[_]]] // error List not renamed here
|
39 | 39 | | ^^^^^^^
|
40 | 40 | | Type parameter List for class C shadows the type defined by type List in package scala
|
41 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:35:11 --------------------------------------------- |
| 41 | +-- Error: tests/neg/i17613b/i17613b.scala:35:11 ------------------------------------------------------------------------ |
42 | 42 | 35 | type E[M[Int[_]]] = Int // error
|
43 | 43 | | ^^^^^^
|
44 | 44 | | Type parameter Int for type E shadows the type defined by class Int in package scala
|
45 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:37:14 --------------------------------------------- |
| 45 | +-- Error: tests/neg/i17613b/i17613b.scala:37:14 ------------------------------------------------------------------------ |
46 | 46 | 37 | def foo[N[M[List[_]]]] = // error
|
47 | 47 | | ^^^^^^^
|
48 | 48 | | Type parameter List for method foo shadows the type defined by type List in package scala
|
49 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:40:11 --------------------------------------------- |
| 49 | +-- Error: tests/neg/i17613b/i17613b.scala:40:11 ------------------------------------------------------------------------ |
50 | 50 | 40 | type Z[ImClassR] = Int // error
|
51 | 51 | | ^^^^^^^^
|
52 | 52 | | Type parameter ImClassR for type Z shadows an explicitly renamed type : ImClassR
|
53 |
| --- Error: tests/neg-custom-args/fatal-warnings/i17613b/i17613b.scala:41:18 --------------------------------------------- |
| 53 | +-- Error: tests/neg/i17613b/i17613b.scala:41:18 ------------------------------------------------------------------------ |
54 | 54 | 41 | class InnerCl[ImClassR] // error
|
55 | 55 | | ^^^^^^^^
|
56 | 56 | | Type parameter ImClassR for class InnerCl shadows an explicitly renamed type : ImClassR
|
0 commit comments