|
20 | 20 | | ^ |
21 | 21 | | Double definition: |
22 | 22 | | val foo: Int in class Test4 at line 25 and |
23 | | - | def foo: => Int in class Test4 at line 26 |
| 23 | + | def foo: Int in class Test4 at line 26 |
24 | 24 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:31:4 ---------------------------------------------------------- |
25 | 25 | 31 | val foo = 1 // error |
26 | 26 | | ^ |
27 | 27 | | Double definition: |
28 | | - | def foo: => Int in class Test4b at line 30 and |
| 28 | + | def foo: Int in class Test4b at line 30 and |
29 | 29 | | val foo: Int in class Test4b at line 31 |
30 | 30 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:36:4 ---------------------------------------------------------- |
31 | 31 | 36 | var foo = 1 // error |
32 | 32 | | ^ |
33 | 33 | | Double definition: |
34 | | - | def foo: => Int in class Test4c at line 35 and |
| 34 | + | def foo: Int in class Test4c at line 35 and |
35 | 35 | | var foo: Int in class Test4c at line 36 |
36 | 36 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:41:4 ---------------------------------------------------------- |
37 | 37 | 41 | def foo = 2 // error |
38 | 38 | | ^ |
39 | 39 | | Double definition: |
40 | 40 | | var foo: Int in class Test4d at line 40 and |
41 | | - | def foo: => Int in class Test4d at line 41 |
| 41 | + | def foo: Int in class Test4d at line 41 |
42 | 42 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:55:4 ---------------------------------------------------------- |
43 | 43 | 55 | def foo(x: List[B]): Function1[B, B] = ??? // error: same jvm signature |
44 | 44 | | ^ |
|
61 | 61 | | ^ |
62 | 62 | | Double definition: |
63 | 63 | | val foo: Int in class Test8 at line 66 and |
64 | | - | def foo: => Int in class Test8 at line 67 |
| 64 | + | def foo: Int in class Test8 at line 67 |
65 | 65 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:72:4 ---------------------------------------------------------- |
66 | 66 | 72 | val foo = 1 // error |
67 | 67 | | ^ |
68 | 68 | | Double definition: |
69 | | - | def foo: => Int in class Test8b at line 71 and |
| 69 | + | def foo: Int in class Test8b at line 71 and |
70 | 70 | | val foo: Int in class Test8b at line 72 |
71 | 71 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:77:4 ---------------------------------------------------------- |
72 | 72 | 77 | var foo = 1 // error |
73 | 73 | | ^ |
74 | 74 | | Double definition: |
75 | | - | def foo: => Int in class Test8c at line 76 and |
| 75 | + | def foo: Int in class Test8c at line 76 and |
76 | 76 | | var foo: Int in class Test8c at line 77 |
77 | 77 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:82:4 ---------------------------------------------------------- |
78 | 78 | 82 | def foo = 2 // error |
79 | 79 | | ^ |
80 | 80 | | Double definition: |
81 | 81 | | var foo: Int in class Test8d at line 81 and |
82 | | - | def foo: => Int in class Test8d at line 82 |
| 82 | + | def foo: Int in class Test8d at line 82 |
83 | 83 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:88:4 ---------------------------------------------------------- |
84 | 84 | 88 | def foo: String // error |
85 | 85 | | ^ |
86 | 86 | | Double definition: |
87 | 87 | | val foo: Int in class Test9 at line 87 and |
88 | | - | def foo: => String in class Test9 at line 88 |
| 88 | + | def foo: String in class Test9 at line 88 |
89 | 89 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:92:4 ---------------------------------------------------------- |
90 | 90 | 92 | def foo: Int // error |
91 | 91 | | ^ |
92 | 92 | | Double definition: |
93 | 93 | | val foo: Int in class Test10 at line 91 and |
94 | | - | def foo: => Int in class Test10 at line 92 |
| 94 | + | def foo: Int in class Test10 at line 92 |
95 | 95 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:96:4 ---------------------------------------------------------- |
96 | 96 | 96 | def foo: String // error |
97 | 97 | | ^ |
98 | 98 | | Double definition: |
99 | 99 | | val foo: Int in class Test11 at line 95 and |
100 | | - | def foo: => String in class Test11 at line 96 |
| 100 | + | def foo: String in class Test11 at line 96 |
101 | 101 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:100:4 --------------------------------------------------------- |
102 | 102 | 100 | def foo: Int // error |
103 | 103 | | ^ |
104 | 104 | | Double definition: |
105 | 105 | | val foo: Int in class Test12 at line 99 and |
106 | | - | def foo: => Int in class Test12 at line 100 |
| 106 | + | def foo: Int in class Test12 at line 100 |
107 | 107 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:104:4 --------------------------------------------------------- |
108 | 108 | 104 | def foo: String // error |
109 | 109 | | ^ |
110 | 110 | | Double definition: |
111 | 111 | | var foo: Int in class Test13 at line 103 and |
112 | | - | def foo: => String in class Test13 at line 104 |
| 112 | + | def foo: String in class Test13 at line 104 |
113 | 113 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:108:4 --------------------------------------------------------- |
114 | 114 | 108 | def foo: Int // error |
115 | 115 | | ^ |
116 | 116 | | Double definition: |
117 | 117 | | var foo: Int in class Test14 at line 107 and |
118 | | - | def foo: => Int in class Test14 at line 108 |
| 118 | + | def foo: Int in class Test14 at line 108 |
119 | 119 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:112:4 --------------------------------------------------------- |
120 | 120 | 112 | def foo: String // error |
121 | 121 | | ^ |
122 | 122 | | Double definition: |
123 | 123 | | var foo: Int in class Test15 at line 111 and |
124 | | - | def foo: => String in class Test15 at line 112 |
| 124 | + | def foo: String in class Test15 at line 112 |
125 | 125 | -- [E120] Naming Error: tests/neg/doubleDefinition.scala:116:4 --------------------------------------------------------- |
126 | 126 | 116 | def foo: Int // error |
127 | 127 | | ^ |
128 | 128 | | Double definition: |
129 | 129 | | var foo: Int in class Test16 at line 115 and |
130 | | - | def foo: => Int in class Test16 at line 116 |
| 130 | + | def foo: Int in class Test16 at line 116 |
0 commit comments