|
17 | 17 | | x >: Int |
18 | 18 | | |
19 | 19 | | longer explanation available when compiling with `-explain` |
20 | | --- [E007] Type Mismatch Error: tests/neg/6570.scala:29:29 -------------------------------------------------------------- |
| 20 | +-- [E007] Type Mismatch Error: tests/neg/6570.scala:29:16 -------------------------------------------------------------- |
21 | 21 | 29 | def thing = new Trait1 {} // error |
22 | | - | ^ |
23 | | - | Found: Object with Base.Trait1 {...} |
24 | | - | Required: Base.N[String & Int] |
| 22 | + | ^^^^^^^^^^^^^ |
| 23 | + | Found: Object with Base.Trait1 {...} |
| 24 | + | Required: Base.N[String & Int] |
25 | 25 | | |
26 | | - | Note: a match type could not be fully reduced: |
| 26 | + | Note: a match type could not be fully reduced: |
27 | 27 | | |
28 | | - | trying to reduce Base.N[String & Int] |
29 | | - | failed since selector String & Int |
30 | | - | is uninhabited (there are no values of that type). |
| 28 | + | trying to reduce Base.N[String & Int] |
| 29 | + | failed since selector String & Int |
| 30 | + | is uninhabited (there are no values of that type). |
31 | 31 | | |
32 | 32 | | longer explanation available when compiling with `-explain` |
33 | 33 | -- [E007] Type Mismatch Error: tests/neg/6570.scala:47:32 -------------------------------------------------------------- |
|
46 | 46 | | a >: Int |
47 | 47 | | |
48 | 48 | | longer explanation available when compiling with `-explain` |
49 | | --- [E007] Type Mismatch Error: tests/neg/6570.scala:51:29 -------------------------------------------------------------- |
| 49 | +-- [E007] Type Mismatch Error: tests/neg/6570.scala:51:16 -------------------------------------------------------------- |
50 | 50 | 51 | def thing = new Trait1 {} // error |
51 | | - | ^ |
52 | | - | Found: Object with Base.Trait1 {...} |
53 | | - | Required: Base.N[String & Int] |
| 51 | + | ^^^^^^^^^^^^^ |
| 52 | + | Found: Object with Base.Trait1 {...} |
| 53 | + | Required: Base.N[String & Int] |
54 | 54 | | |
55 | | - | Note: a match type could not be fully reduced: |
| 55 | + | Note: a match type could not be fully reduced: |
56 | 56 | | |
57 | | - | trying to reduce Base.N[String & Int] |
58 | | - | failed since selector String & Int |
59 | | - | is uninhabited (there are no values of that type). |
| 57 | + | trying to reduce Base.N[String & Int] |
| 58 | + | failed since selector String & Int |
| 59 | + | is uninhabited (there are no values of that type). |
60 | 60 | | |
61 | 61 | | longer explanation available when compiling with `-explain` |
62 | | --- [E007] Type Mismatch Error: tests/neg/6570.scala:69:29 -------------------------------------------------------------- |
| 62 | +-- [E007] Type Mismatch Error: tests/neg/6570.scala:69:16 -------------------------------------------------------------- |
63 | 63 | 69 | def thing = new Trait1 {} // error |
64 | | - | ^ |
65 | | - | Found: Object with Base.Trait1 {...} |
66 | | - | Required: Base.N[String & Int] |
| 64 | + | ^^^^^^^^^^^^^ |
| 65 | + | Found: Object with Base.Trait1 {...} |
| 66 | + | Required: Base.N[String & Int] |
67 | 67 | | |
68 | | - | Note: a match type could not be fully reduced: |
| 68 | + | Note: a match type could not be fully reduced: |
69 | 69 | | |
70 | | - | trying to reduce Base.N[String & Int] |
71 | | - | failed since selector String & Int |
72 | | - | is uninhabited (there are no values of that type). |
| 70 | + | trying to reduce Base.N[String & Int] |
| 71 | + | failed since selector String & Int |
| 72 | + | is uninhabited (there are no values of that type). |
73 | 73 | | |
74 | 74 | | longer explanation available when compiling with `-explain` |
75 | | --- [E007] Type Mismatch Error: tests/neg/6570.scala:86:29 -------------------------------------------------------------- |
| 75 | +-- [E007] Type Mismatch Error: tests/neg/6570.scala:86:16 -------------------------------------------------------------- |
76 | 76 | 86 | def thing = new Trait1 {} // error |
77 | | - | ^ |
78 | | - | Found: Object with Base.Trait1 {...} |
79 | | - | Required: Base.N[String & Int] |
| 77 | + | ^^^^^^^^^^^^^ |
| 78 | + | Found: Object with Base.Trait1 {...} |
| 79 | + | Required: Base.N[String & Int] |
80 | 80 | | |
81 | | - | Note: a match type could not be fully reduced: |
| 81 | + | Note: a match type could not be fully reduced: |
82 | 82 | | |
83 | | - | trying to reduce Base.N[String & Int] |
84 | | - | failed since selector String & Int |
85 | | - | is uninhabited (there are no values of that type). |
| 83 | + | trying to reduce Base.N[String & Int] |
| 84 | + | failed since selector String & Int |
| 85 | + | is uninhabited (there are no values of that type). |
86 | 86 | | |
87 | 87 | | longer explanation available when compiling with `-explain` |
88 | 88 | -- [E007] Type Mismatch Error: tests/neg/6570.scala:103:32 ------------------------------------------------------------- |
|
101 | 101 | | t >: Int |
102 | 102 | | |
103 | 103 | | longer explanation available when compiling with `-explain` |
104 | | --- [E007] Type Mismatch Error: tests/neg/6570.scala:107:29 ------------------------------------------------------------- |
| 104 | +-- [E007] Type Mismatch Error: tests/neg/6570.scala:107:16 ------------------------------------------------------------- |
105 | 105 | 107 | def thing = new Trait1 {} // error |
106 | | - | ^ |
107 | | - | Found: Object with Base.Trait1 {...} |
108 | | - | Required: Base.N[String & Int] |
| 106 | + | ^^^^^^^^^^^^^ |
| 107 | + | Found: Object with Base.Trait1 {...} |
| 108 | + | Required: Base.N[String & Int] |
109 | 109 | | |
110 | | - | Note: a match type could not be fully reduced: |
| 110 | + | Note: a match type could not be fully reduced: |
111 | 111 | | |
112 | | - | trying to reduce Base.N[String & Int] |
113 | | - | failed since selector String & Int |
114 | | - | is uninhabited (there are no values of that type). |
| 112 | + | trying to reduce Base.N[String & Int] |
| 113 | + | failed since selector String & Int |
| 114 | + | is uninhabited (there are no values of that type). |
115 | 115 | | |
116 | 116 | | longer explanation available when compiling with `-explain` |
0 commit comments