diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-12 23:55:35 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-12 23:55:35 +0200 |
commit | 7310e4916b8ee7d96db0e64e75ab98499a826674 (patch) | |
tree | fbcb77a6383a15598a924714abcf97c71b73e1ac /testdata/language-features | |
parent | 67304cc71d2f0efa76b2b2a46575230a5102c6a0 (diff) |
don't show module path
Diffstat (limited to 'testdata/language-features')
157 files changed, 1875 insertions, 1875 deletions
diff --git a/testdata/language-features/adt/adt01.out b/testdata/language-features/adt/adt01.out index bd69397e..36f684b5 100644 --- a/testdata/language-features/adt/adt01.out +++ b/testdata/language-features/adt/adt01.out | |||
@@ -108,80 +108,80 @@ match'Zero = \a b c d -> <<type case function>> | |||
108 | value1 :: OneBool | 108 | value1 :: OneBool |
109 | value1 = _rhs (OneBool True) | 109 | value1 = _rhs (OneBool True) |
110 | ------------ tooltips | 110 | ------------ tooltips |
111 | testdata/language-features/adt/adt01.lc 1:6-1:10 | 111 | adt01.lc 1:6-1:10 |
112 | Type | Type | Type | Type | 112 | Type | Type | Type | Type |
113 | testdata/language-features/adt/adt01.lc 3:6-3:10 | 113 | adt01.lc 3:6-3:10 |
114 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type | 114 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type |
115 | testdata/language-features/adt/adt01.lc 3:6-3:12 | 115 | adt01.lc 3:6-3:12 |
116 | Type | Type | 116 | Type | Type |
117 | testdata/language-features/adt/adt01.lc 3:6-3:19 | 117 | adt01.lc 3:6-3:19 |
118 | Type | Type | 118 | Type | Type |
119 | testdata/language-features/adt/adt01.lc 3:6-3:21 | 119 | adt01.lc 3:6-3:21 |
120 | Type | 120 | Type |
121 | testdata/language-features/adt/adt01.lc 3:11-3:12 | 121 | adt01.lc 3:11-3:12 |
122 | Type | 122 | Type |
123 | testdata/language-features/adt/adt01.lc 3:15-3:19 | 123 | adt01.lc 3:15-3:19 |
124 | forall a . a -> One1 a | One1 _c | Type | Type | 124 | forall a . a -> One1 a | One1 _c | Type | Type |
125 | testdata/language-features/adt/adt01.lc 3:20-3:21 | 125 | adt01.lc 3:20-3:21 |
126 | Type | 126 | Type |
127 | testdata/language-features/adt/adt01.lc 5:6-5:12 | 127 | adt01.lc 5:6-5:12 |
128 | Type | Type | Type | Type | Type | Type | 128 | Type | Type | Type | Type | Type | Type |
129 | testdata/language-features/adt/adt01.lc 5:6-5:19 | 129 | adt01.lc 5:6-5:19 |
130 | Type | 130 | Type |
131 | testdata/language-features/adt/adt01.lc 5:15-5:19 | 131 | adt01.lc 5:15-5:19 |
132 | Int -> OneInt | OneInt | Type | Type | 132 | Int -> OneInt | OneInt | Type | Type |
133 | testdata/language-features/adt/adt01.lc 5:20-5:23 | 133 | adt01.lc 5:20-5:23 |
134 | Type | 134 | Type |
135 | testdata/language-features/adt/adt01.lc 7:6-7:13 | 135 | adt01.lc 7:6-7:13 |
136 | Type | Type | Type | Type | Type | Type | 136 | Type | Type | Type | Type | Type | Type |
137 | testdata/language-features/adt/adt01.lc 7:6-7:23 | 137 | adt01.lc 7:6-7:23 |
138 | Type | 138 | Type |
139 | testdata/language-features/adt/adt01.lc 7:16-7:23 | 139 | adt01.lc 7:16-7:23 |
140 | Bool -> OneBool | OneBool | Type | Type | 140 | Bool -> OneBool | OneBool | Type | Type |
141 | testdata/language-features/adt/adt01.lc 7:24-7:28 | 141 | adt01.lc 7:24-7:28 |
142 | Type | 142 | Type |
143 | testdata/language-features/adt/adt01.lc 9:6-9:9 | 143 | adt01.lc 9:6-9:9 |
144 | Type -> Type -> Type | Type -> Type -> Type | Type -> Type -> Type | Type | 144 | Type -> Type -> Type | Type -> Type -> Type | Type -> Type -> Type | Type |
145 | -> Type -> Type | Type -> Type -> Type | Type | 145 | -> Type -> Type | Type -> Type -> Type | Type |
146 | testdata/language-features/adt/adt01.lc 9:6-9:11 | 146 | adt01.lc 9:6-9:11 |
147 | Type -> Type | Type -> Type | 147 | Type -> Type | Type -> Type |
148 | testdata/language-features/adt/adt01.lc 9:6-9:13 | 148 | adt01.lc 9:6-9:13 |
149 | Type | Type | Type | Type | 149 | Type | Type | Type | Type |
150 | testdata/language-features/adt/adt01.lc 9:6-10:11 | 150 | adt01.lc 9:6-10:11 |
151 | Type | Type | 151 | Type | Type |
152 | testdata/language-features/adt/adt01.lc 9:6-11:9 | 152 | adt01.lc 9:6-11:9 |
153 | Type | Type | Type | Type | 153 | Type | Type | Type | Type |
154 | testdata/language-features/adt/adt01.lc 9:6-11:11 | 154 | adt01.lc 9:6-11:11 |
155 | Type | Type | 155 | Type | Type |
156 | testdata/language-features/adt/adt01.lc 9:10-9:11 | 156 | adt01.lc 9:10-9:11 |
157 | Type | Type | 157 | Type | Type |
158 | testdata/language-features/adt/adt01.lc 9:12-9:13 | 158 | adt01.lc 9:12-9:13 |
159 | Type | Type | 159 | Type | Type |
160 | testdata/language-features/adt/adt01.lc 10:5-10:9 | 160 | adt01.lc 10:5-10:9 |
161 | forall a b . a -> Two a b | Two _d _c | Type | Type | 161 | forall a b . a -> Two a b | Two _d _c | Type | Type |
162 | testdata/language-features/adt/adt01.lc 10:10-10:11 | 162 | adt01.lc 10:10-10:11 |
163 | Type | 163 | Type |
164 | testdata/language-features/adt/adt01.lc 11:5-11:9 | 164 | adt01.lc 11:5-11:9 |
165 | forall a b . b -> Two a b | Two _e _d | Type | Type | 165 | forall a b . b -> Two a b | Two _e _d | Type | Type |
166 | testdata/language-features/adt/adt01.lc 11:10-11:11 | 166 | adt01.lc 11:10-11:11 |
167 | Type | 167 | Type |
168 | testdata/language-features/adt/adt01.lc 13:1-13:7 | 168 | adt01.lc 13:1-13:7 |
169 | OneBool | 169 | OneBool |
170 | testdata/language-features/adt/adt01.lc 13:10-13:17 | 170 | adt01.lc 13:10-13:17 |
171 | Bool -> OneBool | 171 | Bool -> OneBool |
172 | testdata/language-features/adt/adt01.lc 13:10-13:22 | 172 | adt01.lc 13:10-13:22 |
173 | OneBool | 173 | OneBool |
174 | testdata/language-features/adt/adt01.lc 13:18-13:22 | 174 | adt01.lc 13:18-13:22 |
175 | Bool | 175 | Bool |
176 | testdata/language-features/adt/adt01.lc 15:1-15:2 | 176 | adt01.lc 15:1-15:2 |
177 | OneBool -> Bool | 177 | OneBool -> Bool |
178 | testdata/language-features/adt/adt01.lc 15:17-15:18 | 178 | adt01.lc 15:17-15:18 |
179 | Bool | 179 | Bool |
180 | testdata/language-features/adt/adt01.lc 17:1-17:5 | 180 | adt01.lc 17:1-17:5 |
181 | Bool | 181 | Bool |
182 | testdata/language-features/adt/adt01.lc 17:8-17:9 | 182 | adt01.lc 17:8-17:9 |
183 | OneBool -> Bool | 183 | OneBool -> Bool |
184 | testdata/language-features/adt/adt01.lc 17:8-17:16 | 184 | adt01.lc 17:8-17:16 |
185 | Bool | 185 | Bool |
186 | testdata/language-features/adt/adt01.lc 17:10-17:16 | 186 | adt01.lc 17:10-17:16 |
187 | OneBool \ No newline at end of file | 187 | OneBool \ No newline at end of file |
diff --git a/testdata/language-features/adt/adt02.out b/testdata/language-features/adt/adt02.out index 992c314e..8145446b 100644 --- a/testdata/language-features/adt/adt02.out +++ b/testdata/language-features/adt/adt02.out | |||
@@ -149,141 +149,141 @@ value2 = _rhs (Data2 True "friend" True) | |||
149 | value3 :: Data3 Bool Bool Bool | 149 | value3 :: Data3 Bool Bool Bool |
150 | value3 = _rhs (Data3 True True True) | 150 | value3 = _rhs (Data3 True True True) |
151 | ------------ tooltips | 151 | ------------ tooltips |
152 | testdata/language-features/adt/adt02.lc 1:6-1:11 | 152 | adt02.lc 1:6-1:11 |
153 | Type | Type | Type | Type | Type | Type | 153 | Type | Type | Type | Type | Type | Type |
154 | testdata/language-features/adt/adt02.lc 1:6-1:19 | 154 | adt02.lc 1:6-1:19 |
155 | Type | 155 | Type |
156 | testdata/language-features/adt/adt02.lc 1:14-1:19 | 156 | adt02.lc 1:14-1:19 |
157 | Bool -> Data1 | Data1 | Type | Type | 157 | Bool -> Data1 | Data1 | Type | Type |
158 | testdata/language-features/adt/adt02.lc 1:22-1:26 | 158 | adt02.lc 1:22-1:26 |
159 | Data1 -> Bool | 159 | Data1 -> Bool |
160 | testdata/language-features/adt/adt02.lc 1:30-1:34 | 160 | adt02.lc 1:30-1:34 |
161 | Type | 161 | Type |
162 | testdata/language-features/adt/adt02.lc 3:6-3:11 | 162 | adt02.lc 3:6-3:11 |
163 | Type | Type | Type | Type | Type | Type | 163 | Type | Type | Type | Type | Type | Type |
164 | testdata/language-features/adt/adt02.lc 3:6-3:19 | 164 | adt02.lc 3:6-3:19 |
165 | Type | 165 | Type |
166 | testdata/language-features/adt/adt02.lc 3:6-6:17 | 166 | adt02.lc 3:6-6:17 |
167 | Type | Type | 167 | Type | Type |
168 | testdata/language-features/adt/adt02.lc 3:14-3:19 | 168 | adt02.lc 3:14-3:19 |
169 | Bool -> String -> Bool -> Data2 | Data2 | Type | Type | Type | Type | 169 | Bool -> String -> Bool -> Data2 | Data2 | Type | Type | Type | Type |
170 | testdata/language-features/adt/adt02.lc 4:5-4:9 | 170 | adt02.lc 4:5-4:9 |
171 | Data2 -> Bool | 171 | Data2 -> Bool |
172 | testdata/language-features/adt/adt02.lc 4:13-4:17 | 172 | adt02.lc 4:13-4:17 |
173 | Type | 173 | Type |
174 | testdata/language-features/adt/adt02.lc 5:5-5:9 | 174 | adt02.lc 5:5-5:9 |
175 | Data2 -> String | 175 | Data2 -> String |
176 | testdata/language-features/adt/adt02.lc 5:13-5:19 | 176 | adt02.lc 5:13-5:19 |
177 | Type | 177 | Type |
178 | testdata/language-features/adt/adt02.lc 6:5-6:9 | 178 | adt02.lc 6:5-6:9 |
179 | Data2 -> Bool | 179 | Data2 -> Bool |
180 | testdata/language-features/adt/adt02.lc 6:13-6:17 | 180 | adt02.lc 6:13-6:17 |
181 | Type | 181 | Type |
182 | testdata/language-features/adt/adt02.lc 9:1-9:7 | 182 | adt02.lc 9:1-9:7 |
183 | Data1 | 183 | Data1 |
184 | testdata/language-features/adt/adt02.lc 9:10-9:15 | 184 | adt02.lc 9:10-9:15 |
185 | Bool -> Data1 | 185 | Bool -> Data1 |
186 | testdata/language-features/adt/adt02.lc 9:10-9:20 | 186 | adt02.lc 9:10-9:20 |
187 | Data1 | 187 | Data1 |
188 | testdata/language-features/adt/adt02.lc 9:16-9:20 | 188 | adt02.lc 9:16-9:20 |
189 | Bool | 189 | Bool |
190 | testdata/language-features/adt/adt02.lc 10:1-10:7 | 190 | adt02.lc 10:1-10:7 |
191 | Data2 | 191 | Data2 |
192 | testdata/language-features/adt/adt02.lc 10:10-10:15 | 192 | adt02.lc 10:10-10:15 |
193 | Bool -> String -> Bool -> Data2 | 193 | Bool -> String -> Bool -> Data2 |
194 | testdata/language-features/adt/adt02.lc 10:10-10:20 | 194 | adt02.lc 10:10-10:20 |
195 | String -> Bool -> Data2 | 195 | String -> Bool -> Data2 |
196 | testdata/language-features/adt/adt02.lc 10:10-10:29 | 196 | adt02.lc 10:10-10:29 |
197 | Bool -> Data2 | 197 | Bool -> Data2 |
198 | testdata/language-features/adt/adt02.lc 10:10-10:34 | 198 | adt02.lc 10:10-10:34 |
199 | Data2 | 199 | Data2 |
200 | testdata/language-features/adt/adt02.lc 10:16-10:20 | 200 | adt02.lc 10:16-10:20 |
201 | Bool | 201 | Bool |
202 | testdata/language-features/adt/adt02.lc 10:21-10:29 | 202 | adt02.lc 10:21-10:29 |
203 | String | 203 | String |
204 | testdata/language-features/adt/adt02.lc 10:30-10:34 | 204 | adt02.lc 10:30-10:34 |
205 | Bool | 205 | Bool |
206 | testdata/language-features/adt/adt02.lc 12:6-12:11 | 206 | adt02.lc 12:6-12:11 |
207 | Type -> Type -> Type -> Type | Type -> Type -> Type -> Type | Type | 207 | Type -> Type -> Type -> Type | Type -> Type -> Type -> Type | Type |
208 | -> Type -> Type -> Type | Type -> Type -> Type -> Type | Type | 208 | -> Type -> Type -> Type | Type -> Type -> Type -> Type | Type |
209 | testdata/language-features/adt/adt02.lc 12:6-12:13 | 209 | adt02.lc 12:6-12:13 |
210 | Type -> Type -> Type | 210 | Type -> Type -> Type |
211 | testdata/language-features/adt/adt02.lc 12:6-12:15 | 211 | adt02.lc 12:6-12:15 |
212 | Type -> Type | 212 | Type -> Type |
213 | testdata/language-features/adt/adt02.lc 12:6-12:17 | 213 | adt02.lc 12:6-12:17 |
214 | Type | Type | 214 | Type | Type |
215 | testdata/language-features/adt/adt02.lc 12:6-12:25 | 215 | adt02.lc 12:6-12:25 |
216 | Type | Type | Type | Type | 216 | Type | Type | Type | Type |
217 | testdata/language-features/adt/adt02.lc 12:6-15:14 | 217 | adt02.lc 12:6-15:14 |
218 | Type | Type | Type | Type | Type | 218 | Type | Type | Type | Type | Type |
219 | testdata/language-features/adt/adt02.lc 12:12-12:13 | 219 | adt02.lc 12:12-12:13 |
220 | Type | 220 | Type |
221 | testdata/language-features/adt/adt02.lc 12:14-12:15 | 221 | adt02.lc 12:14-12:15 |
222 | Type | 222 | Type |
223 | testdata/language-features/adt/adt02.lc 12:16-12:17 | 223 | adt02.lc 12:16-12:17 |
224 | Type | 224 | Type |
225 | testdata/language-features/adt/adt02.lc 12:20-12:25 | 225 | adt02.lc 12:20-12:25 |
226 | forall a b c . a -> b -> c -> Data3 a b c | Data3 | 226 | forall a b c . a -> b -> c -> Data3 a b c | Data3 |
227 | _g | 227 | _g |
228 | _f | 228 | _f |
229 | _e | Type | Type | Type | Type | 229 | _e | Type | Type | Type | Type |
230 | testdata/language-features/adt/adt02.lc 13:5-13:9 | 230 | adt02.lc 13:5-13:9 |
231 | forall a b c . Data3 a b c -> a | 231 | forall a b c . Data3 a b c -> a |
232 | testdata/language-features/adt/adt02.lc 13:13-13:14 | 232 | adt02.lc 13:13-13:14 |
233 | Type | 233 | Type |
234 | testdata/language-features/adt/adt02.lc 14:5-14:9 | 234 | adt02.lc 14:5-14:9 |
235 | forall a b c . Data3 a b c -> b | 235 | forall a b c . Data3 a b c -> b |
236 | testdata/language-features/adt/adt02.lc 14:13-14:14 | 236 | adt02.lc 14:13-14:14 |
237 | Type | 237 | Type |
238 | testdata/language-features/adt/adt02.lc 15:5-15:9 | 238 | adt02.lc 15:5-15:9 |
239 | forall a b c . Data3 a b c -> c | 239 | forall a b c . Data3 a b c -> c |
240 | testdata/language-features/adt/adt02.lc 15:13-15:14 | 240 | adt02.lc 15:13-15:14 |
241 | Type | 241 | Type |
242 | testdata/language-features/adt/adt02.lc 18:1-18:7 | 242 | adt02.lc 18:1-18:7 |
243 | Data3 Bool Bool Bool | 243 | Data3 Bool Bool Bool |
244 | testdata/language-features/adt/adt02.lc 18:10-18:15 | 244 | adt02.lc 18:10-18:15 |
245 | forall a b c . a -> b -> c -> Data3 a b c | 245 | forall a b c . a -> b -> c -> Data3 a b c |
246 | testdata/language-features/adt/adt02.lc 18:10-18:20 | 246 | adt02.lc 18:10-18:20 |
247 | _b -> _a -> Data3 Bool _b _a | 247 | _b -> _a -> Data3 Bool _b _a |
248 | testdata/language-features/adt/adt02.lc 18:10-18:25 | 248 | adt02.lc 18:10-18:25 |
249 | _a -> Data3 Bool Bool _a | 249 | _a -> Data3 Bool Bool _a |
250 | testdata/language-features/adt/adt02.lc 18:10-18:30 | 250 | adt02.lc 18:10-18:30 |
251 | Data3 Bool Bool Bool | 251 | Data3 Bool Bool Bool |
252 | testdata/language-features/adt/adt02.lc 18:16-18:20 | 252 | adt02.lc 18:16-18:20 |
253 | Bool | 253 | Bool |
254 | testdata/language-features/adt/adt02.lc 18:21-18:25 | 254 | adt02.lc 18:21-18:25 |
255 | Bool | 255 | Bool |
256 | testdata/language-features/adt/adt02.lc 18:26-18:30 | 256 | adt02.lc 18:26-18:30 |
257 | Bool | 257 | Bool |
258 | testdata/language-features/adt/adt02.lc 20:1-20:5 | 258 | adt02.lc 20:1-20:5 |
259 | Bool | 259 | Bool |
260 | testdata/language-features/adt/adt02.lc 20:8-20:12 | 260 | adt02.lc 20:8-20:12 |
261 | Data2 -> Bool | 261 | Data2 -> Bool |
262 | testdata/language-features/adt/adt02.lc 20:8-20:19 | 262 | adt02.lc 20:8-20:19 |
263 | Bool | 263 | Bool |
264 | testdata/language-features/adt/adt02.lc 20:8-20:22 | 264 | adt02.lc 20:8-20:22 |
265 | Bool -> Bool | 265 | Bool -> Bool |
266 | testdata/language-features/adt/adt02.lc 20:8-20:49 | 266 | adt02.lc 20:8-20:49 |
267 | Bool | 267 | Bool |
268 | testdata/language-features/adt/adt02.lc 20:13-20:19 | 268 | adt02.lc 20:13-20:19 |
269 | Data2 | 269 | Data2 |
270 | testdata/language-features/adt/adt02.lc 20:20-20:22 | 270 | adt02.lc 20:20-20:22 |
271 | Bool -> Bool -> Bool | 271 | Bool -> Bool -> Bool |
272 | testdata/language-features/adt/adt02.lc 20:23-20:27 | 272 | adt02.lc 20:23-20:27 |
273 | Data2 -> Bool | 273 | Data2 -> Bool |
274 | testdata/language-features/adt/adt02.lc 20:23-20:34 | 274 | adt02.lc 20:23-20:34 |
275 | Bool | 275 | Bool |
276 | testdata/language-features/adt/adt02.lc 20:23-20:37 | 276 | adt02.lc 20:23-20:37 |
277 | Bool -> Bool | 277 | Bool -> Bool |
278 | testdata/language-features/adt/adt02.lc 20:23-20:49 | 278 | adt02.lc 20:23-20:49 |
279 | Bool | 279 | Bool |
280 | testdata/language-features/adt/adt02.lc 20:28-20:34 | 280 | adt02.lc 20:28-20:34 |
281 | Data2 | 281 | Data2 |
282 | testdata/language-features/adt/adt02.lc 20:35-20:37 | 282 | adt02.lc 20:35-20:37 |
283 | Bool -> Bool -> Bool | 283 | Bool -> Bool -> Bool |
284 | testdata/language-features/adt/adt02.lc 20:38-20:42 | 284 | adt02.lc 20:38-20:42 |
285 | forall a b c . Data3 a b c -> a | 285 | forall a b c . Data3 a b c -> a |
286 | testdata/language-features/adt/adt02.lc 20:38-20:49 | 286 | adt02.lc 20:38-20:49 |
287 | Bool | 287 | Bool |
288 | testdata/language-features/adt/adt02.lc 20:43-20:49 | 288 | adt02.lc 20:43-20:49 |
289 | Data3 Bool Bool Bool \ No newline at end of file | 289 | Data3 Bool Bool Bool \ No newline at end of file |
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out index 789edbde..4df48b2c 100644 --- a/testdata/language-features/adt/adt02.reject.out +++ b/testdata/language-features/adt/adt02.reject.out | |||
@@ -1,9 +1,9 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 2 | 'Internals.lc:63:6: |
3 | data Bool = False | True | 3 | data Bool = False | True |
4 | ^^^^ | 4 | ^^^^ |
5 | with | 5 | with |
6 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:58:6: | 6 | 'Internals.lc:58:6: |
7 | data Int | 7 | data Int |
8 | ^^^ | 8 | ^^^ |
9 | in proj | 9 | in proj |
@@ -18,36 +18,36 @@ case'Data3 | |||
18 | -> forall (h :: Data3) -> a h | 18 | -> forall (h :: Data3) -> a h |
19 | match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b | 19 | match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b |
20 | !type error: can not unify | 20 | !type error: can not unify |
21 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 21 | 'Internals.lc:63:6: |
22 | data Bool = False | True | 22 | data Bool = False | True |
23 | ^^^^ | 23 | ^^^^ |
24 | with | 24 | with |
25 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:58:6: | 25 | 'Internals.lc:58:6: |
26 | data Int | 26 | data Int |
27 | ^^^ | 27 | ^^^ |
28 | in proj | 28 | in proj |
29 | ------------ tooltips | 29 | ------------ tooltips |
30 | testdata/language-features/adt/adt02.reject.lc 2:6-2:11 | 30 | adt02.reject.lc 2:6-2:11 |
31 | Type | Type | Type | Type | Type | Type | Type | Type | 31 | Type | Type | Type | Type | Type | Type | Type | Type |
32 | testdata/language-features/adt/adt02.reject.lc 2:6-5:25 | 32 | adt02.reject.lc 2:6-5:25 |
33 | Type | Type | 33 | Type | Type |
34 | testdata/language-features/adt/adt02.reject.lc 2:6-7:11 | 34 | adt02.reject.lc 2:6-7:11 |
35 | Type | Type | 35 | Type | Type |
36 | testdata/language-features/adt/adt02.reject.lc 2:6-10:20 | 36 | adt02.reject.lc 2:6-10:20 |
37 | Type | Type | 37 | Type | Type |
38 | testdata/language-features/adt/adt02.reject.lc 3:5-3:10 | 38 | adt02.reject.lc 3:5-3:10 |
39 | Bool -> Char -> Bool -> Data3 | Data3 | Type | Type | Type | Type | 39 | Bool -> Char -> Bool -> Data3 | Data3 | Type | Type | Type | Type |
40 | testdata/language-features/adt/adt02.reject.lc 3:21-3:25 | 40 | adt02.reject.lc 3:21-3:25 |
41 | Type | 41 | Type |
42 | testdata/language-features/adt/adt02.reject.lc 4:21-4:25 | 42 | adt02.reject.lc 4:21-4:25 |
43 | Type | 43 | Type |
44 | testdata/language-features/adt/adt02.reject.lc 5:21-5:25 | 44 | adt02.reject.lc 5:21-5:25 |
45 | Type | 45 | Type |
46 | testdata/language-features/adt/adt02.reject.lc 7:5-7:11 | 46 | adt02.reject.lc 7:5-7:11 |
47 | Int -> String -> Int -> Data3 | Data3 | Type | Type | Type | Type | 47 | Int -> String -> Int -> Data3 | Data3 | Type | Type | Type | Type |
48 | testdata/language-features/adt/adt02.reject.lc 8:17-8:20 | 48 | adt02.reject.lc 8:17-8:20 |
49 | Type | 49 | Type |
50 | testdata/language-features/adt/adt02.reject.lc 9:17-9:23 | 50 | adt02.reject.lc 9:17-9:23 |
51 | Type | 51 | Type |
52 | testdata/language-features/adt/adt02.reject.lc 10:17-10:20 | 52 | adt02.reject.lc 10:17-10:20 |
53 | Type \ No newline at end of file | 53 | Type \ No newline at end of file |
diff --git a/testdata/language-features/adt/adt03.reject.out b/testdata/language-features/adt/adt03.reject.out index d579a3d5..4296561e 100644 --- a/testdata/language-features/adt/adt03.reject.out +++ b/testdata/language-features/adt/adt03.reject.out | |||
@@ -1,11 +1,11 @@ | |||
1 | can't find: a in testdata/language-features/adt/adt03.reject.lc:2:20: | 1 | can't find: a in adt03.reject.lc:2:20: |
2 | data Data3 = Data3 a b c | 2 | data Data3 = Data3 a b c |
3 | ^ | 3 | ^ |
4 | ------------ trace | 4 | ------------ trace |
5 | 'Data3 :: Type | 5 | 'Data3 :: Type |
6 | !can't find: a in testdata/language-features/adt/adt03.reject.lc:2:20: | 6 | !can't find: a in adt03.reject.lc:2:20: |
7 | data Data3 = Data3 a b c | 7 | data Data3 = Data3 a b c |
8 | ^ | 8 | ^ |
9 | ------------ tooltips | 9 | ------------ tooltips |
10 | testdata/language-features/adt/adt03.reject.lc 2:6-2:11 | 10 | adt03.reject.lc 2:6-2:11 |
11 | Type \ No newline at end of file | 11 | Type \ No newline at end of file |
diff --git a/testdata/language-features/adt/adt04.reject.out b/testdata/language-features/adt/adt04.reject.out index 0dd18b2f..5a605902 100644 --- a/testdata/language-features/adt/adt04.reject.out +++ b/testdata/language-features/adt/adt04.reject.out | |||
@@ -1,11 +1,11 @@ | |||
1 | can't find: a in testdata/language-features/adt/adt04.reject.lc:2:27: | 1 | can't find: a in adt04.reject.lc:2:27: |
2 | data Data3 = Data3 { x :: a , y :: b , z :: c } | 2 | data Data3 = Data3 { x :: a , y :: b , z :: c } |
3 | ^ | 3 | ^ |
4 | ------------ trace | 4 | ------------ trace |
5 | 'Data3 :: Type | 5 | 'Data3 :: Type |
6 | !can't find: a in testdata/language-features/adt/adt04.reject.lc:2:27: | 6 | !can't find: a in adt04.reject.lc:2:27: |
7 | data Data3 = Data3 { x :: a , y :: b , z :: c } | 7 | data Data3 = Data3 { x :: a , y :: b , z :: c } |
8 | ^ | 8 | ^ |
9 | ------------ tooltips | 9 | ------------ tooltips |
10 | testdata/language-features/adt/adt04.reject.lc 2:6-2:11 | 10 | adt04.reject.lc 2:6-2:11 |
11 | Type \ No newline at end of file | 11 | Type \ No newline at end of file |
diff --git a/testdata/language-features/adt/adt05.out b/testdata/language-features/adt/adt05.out index aed76869..5e37e669 100644 --- a/testdata/language-features/adt/adt05.out +++ b/testdata/language-features/adt/adt05.out | |||
@@ -66,77 +66,77 @@ value1 = _rhs TEmpty | |||
66 | value2 :: forall a . Num a => TList a | 66 | value2 :: forall a . Num a => TList a |
67 | value2 = \a b -> _rhs (TCons (fromInt a b 3) TEmpty) | 67 | value2 = \a b -> _rhs (TCons (fromInt a b 3) TEmpty) |
68 | ------------ tooltips | 68 | ------------ tooltips |
69 | testdata/language-features/adt/adt05.lc 3:6-3:11 | 69 | adt05.lc 3:6-3:11 |
70 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type | 70 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type |
71 | testdata/language-features/adt/adt05.lc 3:6-3:13 | 71 | adt05.lc 3:6-3:13 |
72 | Type | Type | Type | Type | 72 | Type | Type | Type | Type |
73 | testdata/language-features/adt/adt05.lc 3:6-3:30 | 73 | adt05.lc 3:6-3:30 |
74 | Type | Type | Type | 74 | Type | Type | Type |
75 | testdata/language-features/adt/adt05.lc 3:6-3:42 | 75 | adt05.lc 3:6-3:42 |
76 | Type | Type | 76 | Type | Type |
77 | testdata/language-features/adt/adt05.lc 3:12-3:13 | 77 | adt05.lc 3:12-3:13 |
78 | Type | Type | 78 | Type | Type |
79 | testdata/language-features/adt/adt05.lc 3:16-3:22 | 79 | adt05.lc 3:16-3:22 |
80 | forall a . TList a | TList _b | 80 | forall a . TList a | TList _b |
81 | testdata/language-features/adt/adt05.lc 3:25-3:30 | 81 | adt05.lc 3:25-3:30 |
82 | forall a . a -> TList a -> TList a | TList _e | Type | Type | Type | 82 | forall a . a -> TList a -> TList a | TList _e | Type | Type | Type |
83 | testdata/language-features/adt/adt05.lc 3:31-3:32 | 83 | adt05.lc 3:31-3:32 |
84 | Type | 84 | Type |
85 | testdata/language-features/adt/adt05.lc 3:34-3:39 | 85 | adt05.lc 3:34-3:39 |
86 | Type -> Type | 86 | Type -> Type |
87 | testdata/language-features/adt/adt05.lc 3:34-3:41 | 87 | adt05.lc 3:34-3:41 |
88 | Type | 88 | Type |
89 | testdata/language-features/adt/adt05.lc 3:40-3:41 | 89 | adt05.lc 3:40-3:41 |
90 | Type | 90 | Type |
91 | testdata/language-features/adt/adt05.lc 5:1-5:7 | 91 | adt05.lc 5:1-5:7 |
92 | forall a . TList a | 92 | forall a . TList a |
93 | testdata/language-features/adt/adt05.lc 5:10-5:16 | 93 | adt05.lc 5:10-5:16 |
94 | forall a . TList a | 94 | forall a . TList a |
95 | testdata/language-features/adt/adt05.lc 6:1-6:7 | 95 | adt05.lc 6:1-6:7 |
96 | forall a . Num a => TList a | 96 | forall a . Num a => TList a |
97 | testdata/language-features/adt/adt05.lc 6:10-6:15 | 97 | adt05.lc 6:10-6:15 |
98 | forall a . a -> TList a -> TList a | 98 | forall a . a -> TList a -> TList a |
99 | testdata/language-features/adt/adt05.lc 6:10-6:17 | 99 | adt05.lc 6:10-6:17 |
100 | TList _b -> TList _b | 100 | TList _b -> TList _b |
101 | testdata/language-features/adt/adt05.lc 6:10-6:24 | 101 | adt05.lc 6:10-6:24 |
102 | TList _b | 102 | TList _b |
103 | testdata/language-features/adt/adt05.lc 6:16-6:17 | 103 | adt05.lc 6:16-6:17 |
104 | _b | 104 | _b |
105 | testdata/language-features/adt/adt05.lc 6:18-6:24 | 105 | adt05.lc 6:18-6:24 |
106 | forall a . TList a | 106 | forall a . TList a |
107 | testdata/language-features/adt/adt05.lc 8:1-8:8 | 107 | adt05.lc 8:1-8:8 |
108 | forall a . TList a -> Bool | 108 | forall a . TList a -> Bool |
109 | testdata/language-features/adt/adt05.lc 8:18-8:22 | 109 | adt05.lc 8:18-8:22 |
110 | Bool | 110 | Bool |
111 | testdata/language-features/adt/adt05.lc 8:18-9:23 | 111 | adt05.lc 8:18-9:23 |
112 | TList _a -> Bool | 112 | TList _a -> Bool |
113 | testdata/language-features/adt/adt05.lc 9:18-9:23 | 113 | adt05.lc 9:18-9:23 |
114 | Bool | 114 | Bool |
115 | testdata/language-features/adt/adt05.lc 11:1-11:7 | 115 | adt05.lc 11:1-11:7 |
116 | forall a . TList a -> Bool | 116 | forall a . TList a -> Bool |
117 | testdata/language-features/adt/adt05.lc 11:22-11:26 | 117 | adt05.lc 11:22-11:26 |
118 | Bool | 118 | Bool |
119 | testdata/language-features/adt/adt05.lc 11:22-12:27 | 119 | adt05.lc 11:22-12:27 |
120 | TList _a -> Bool | 120 | TList _a -> Bool |
121 | testdata/language-features/adt/adt05.lc 12:22-12:27 | 121 | adt05.lc 12:22-12:27 |
122 | Bool | 122 | Bool |
123 | testdata/language-features/adt/adt05.lc 14:1-14:5 | 123 | adt05.lc 14:1-14:5 |
124 | @Type -> forall a . Num a => Bool | 124 | @Type -> forall a . Num a => Bool |
125 | testdata/language-features/adt/adt05.lc 14:8-14:15 | 125 | adt05.lc 14:8-14:15 |
126 | forall a . TList a -> Bool | 126 | forall a . TList a -> Bool |
127 | testdata/language-features/adt/adt05.lc 14:8-14:22 | 127 | adt05.lc 14:8-14:22 |
128 | Bool | 128 | Bool |
129 | testdata/language-features/adt/adt05.lc 14:8-14:25 | 129 | adt05.lc 14:8-14:25 |
130 | Bool -> Bool | 130 | Bool -> Bool |
131 | testdata/language-features/adt/adt05.lc 14:8-14:39 | 131 | adt05.lc 14:8-14:39 |
132 | Bool | 132 | Bool |
133 | testdata/language-features/adt/adt05.lc 14:16-14:22 | 133 | adt05.lc 14:16-14:22 |
134 | forall a . TList a | 134 | forall a . TList a |
135 | testdata/language-features/adt/adt05.lc 14:23-14:25 | 135 | adt05.lc 14:23-14:25 |
136 | Bool -> Bool -> Bool | 136 | Bool -> Bool -> Bool |
137 | testdata/language-features/adt/adt05.lc 14:26-14:32 | 137 | adt05.lc 14:26-14:32 |
138 | forall a . TList a -> Bool | 138 | forall a . TList a -> Bool |
139 | testdata/language-features/adt/adt05.lc 14:26-14:39 | 139 | adt05.lc 14:26-14:39 |
140 | Bool | 140 | Bool |
141 | testdata/language-features/adt/adt05.lc 14:33-14:39 | 141 | adt05.lc 14:33-14:39 |
142 | forall a . Num a => TList a \ No newline at end of file | 142 | forall a . Num a => TList a \ No newline at end of file |
diff --git a/testdata/language-features/adt/gadt01.out b/testdata/language-features/adt/gadt01.out index 5c850279..a88a5bec 100644 --- a/testdata/language-features/adt/gadt01.out +++ b/testdata/language-features/adt/gadt01.out | |||
@@ -125,252 +125,252 @@ value2 = _rhs (Value2 True "s") | |||
125 | value3 :: M3 Bool "t" | 125 | value3 :: M3 Bool "t" |
126 | value3 = _rhs (Value3 "t" True) | 126 | value3 = _rhs (Value3 "t" True) |
127 | ------------ tooltips | 127 | ------------ tooltips |
128 | testdata/language-features/adt/gadt01.lc 2:6-2:7 | 128 | gadt01.lc 2:6-2:7 |
129 | Nat -> Type -> Type | Nat -> Type -> Type | Type | Type | Nat | 129 | Nat -> Type -> Type | Nat -> Type -> Type | Type | Type | Nat |
130 | -> Type -> Type | Type | Type | Type | 130 | -> Type -> Type | Type | Type | Type |
131 | testdata/language-features/adt/gadt01.lc 2:6-4:25 | 131 | gadt01.lc 2:6-4:25 |
132 | Type | Type | 132 | Type | Type |
133 | testdata/language-features/adt/gadt01.lc 2:11-2:14 | 133 | gadt01.lc 2:11-2:14 |
134 | Type | 134 | Type |
135 | testdata/language-features/adt/gadt01.lc 2:18-2:22 | 135 | gadt01.lc 2:18-2:22 |
136 | Type | 136 | Type |
137 | testdata/language-features/adt/gadt01.lc 2:18-2:30 | 137 | gadt01.lc 2:18-2:30 |
138 | Type | 138 | Type |
139 | testdata/language-features/adt/gadt01.lc 2:26-2:30 | 139 | gadt01.lc 2:26-2:30 |
140 | Type | Type | 140 | Type | Type |
141 | testdata/language-features/adt/gadt01.lc 3:3-3:6 | 141 | gadt01.lc 3:3-3:6 |
142 | forall a . a -> V 1 a | V 1 _b | 142 | forall a . a -> V 1 a | V 1 _b |
143 | testdata/language-features/adt/gadt01.lc 3:3-3:20 | 143 | gadt01.lc 3:3-3:20 |
144 | Type | Type | Type | 144 | Type | Type | Type |
145 | testdata/language-features/adt/gadt01.lc 3:10-3:11 | 145 | gadt01.lc 3:10-3:11 |
146 | _b | 146 | _b |
147 | testdata/language-features/adt/gadt01.lc 3:10-3:20 | 147 | gadt01.lc 3:10-3:20 |
148 | Type | 148 | Type |
149 | testdata/language-features/adt/gadt01.lc 3:15-3:16 | 149 | gadt01.lc 3:15-3:16 |
150 | Nat -> Type -> Type | 150 | Nat -> Type -> Type |
151 | testdata/language-features/adt/gadt01.lc 3:15-3:18 | 151 | gadt01.lc 3:15-3:18 |
152 | Type -> Type | 152 | Type -> Type |
153 | testdata/language-features/adt/gadt01.lc 3:15-3:20 | 153 | gadt01.lc 3:15-3:20 |
154 | Type | Type | 154 | Type | Type |
155 | testdata/language-features/adt/gadt01.lc 3:17-3:18 | 155 | gadt01.lc 3:17-3:18 |
156 | _b | _b | 156 | _b | _b |
157 | testdata/language-features/adt/gadt01.lc 3:17-3:20 | 157 | gadt01.lc 3:17-3:20 |
158 | V 1 _b -> Type | 158 | V 1 _b -> Type |
159 | testdata/language-features/adt/gadt01.lc 3:19-3:20 | 159 | gadt01.lc 3:19-3:20 |
160 | Type | Type | 160 | Type | Type |
161 | testdata/language-features/adt/gadt01.lc 4:3-4:6 | 161 | gadt01.lc 4:3-4:6 |
162 | forall a . a -> a -> V 2 a | V 2 _c | 162 | forall a . a -> a -> V 2 a | V 2 _c |
163 | testdata/language-features/adt/gadt01.lc 4:3-4:25 | 163 | gadt01.lc 4:3-4:25 |
164 | Type | Type | Type | Type | 164 | Type | Type | Type | Type |
165 | testdata/language-features/adt/gadt01.lc 4:10-4:11 | 165 | gadt01.lc 4:10-4:11 |
166 | _b | 166 | _b |
167 | testdata/language-features/adt/gadt01.lc 4:10-4:25 | 167 | gadt01.lc 4:10-4:25 |
168 | Type | 168 | Type |
169 | testdata/language-features/adt/gadt01.lc 4:15-4:16 | 169 | gadt01.lc 4:15-4:16 |
170 | Type | 170 | Type |
171 | testdata/language-features/adt/gadt01.lc 4:15-4:25 | 171 | gadt01.lc 4:15-4:25 |
172 | Type | 172 | Type |
173 | testdata/language-features/adt/gadt01.lc 4:20-4:21 | 173 | gadt01.lc 4:20-4:21 |
174 | Nat -> Type -> Type | 174 | Nat -> Type -> Type |
175 | testdata/language-features/adt/gadt01.lc 4:20-4:23 | 175 | gadt01.lc 4:20-4:23 |
176 | Type -> Type | 176 | Type -> Type |
177 | testdata/language-features/adt/gadt01.lc 4:20-4:25 | 177 | gadt01.lc 4:20-4:25 |
178 | Type | Type | 178 | Type | Type |
179 | testdata/language-features/adt/gadt01.lc 4:22-4:23 | 179 | gadt01.lc 4:22-4:23 |
180 | _b | _b | 180 | _b | _b |
181 | testdata/language-features/adt/gadt01.lc 4:22-4:25 | 181 | gadt01.lc 4:22-4:25 |
182 | V 2 _c -> Type | 182 | V 2 _c -> Type |
183 | testdata/language-features/adt/gadt01.lc 4:24-4:25 | 183 | gadt01.lc 4:24-4:25 |
184 | Type | Type | 184 | Type | Type |
185 | testdata/language-features/adt/gadt01.lc 6:6-6:7 | 185 | gadt01.lc 6:6-6:7 |
186 | Type -> String -> Type | Type -> String -> Type | Type | Type | Type | 186 | Type -> String -> Type | Type -> String -> Type | Type | Type | Type |
187 | -> String -> Type | Type | Type | Type | 187 | -> String -> Type | Type | Type | Type |
188 | testdata/language-features/adt/gadt01.lc 6:6-7:33 | 188 | gadt01.lc 6:6-7:33 |
189 | Type | 189 | Type |
190 | testdata/language-features/adt/gadt01.lc 6:11-6:15 | 190 | gadt01.lc 6:11-6:15 |
191 | Type | 191 | Type |
192 | testdata/language-features/adt/gadt01.lc 6:19-6:25 | 192 | gadt01.lc 6:19-6:25 |
193 | Type | 193 | Type |
194 | testdata/language-features/adt/gadt01.lc 6:19-6:33 | 194 | gadt01.lc 6:19-6:33 |
195 | Type | 195 | Type |
196 | testdata/language-features/adt/gadt01.lc 6:29-6:33 | 196 | gadt01.lc 6:29-6:33 |
197 | Type | Type | 197 | Type | Type |
198 | testdata/language-features/adt/gadt01.lc 7:3-7:8 | 198 | gadt01.lc 7:3-7:8 |
199 | forall a . a -> forall (b :: String) . M a b | M _c _a | 199 | forall a . a -> forall (b :: String) . M a b | M _c _a |
200 | testdata/language-features/adt/gadt01.lc 7:3-7:33 | 200 | gadt01.lc 7:3-7:33 |
201 | Type | Type | Type | Type | 201 | Type | Type | Type | Type |
202 | testdata/language-features/adt/gadt01.lc 7:12-7:13 | 202 | gadt01.lc 7:12-7:13 |
203 | _b | 203 | _b |
204 | testdata/language-features/adt/gadt01.lc 7:12-7:33 | 204 | gadt01.lc 7:12-7:33 |
205 | Type | 205 | Type |
206 | testdata/language-features/adt/gadt01.lc 7:17-7:33 | 206 | gadt01.lc 7:17-7:33 |
207 | Type | 207 | Type |
208 | testdata/language-features/adt/gadt01.lc 7:28-7:29 | 208 | gadt01.lc 7:28-7:29 |
209 | Type -> String -> Type | 209 | Type -> String -> Type |
210 | testdata/language-features/adt/gadt01.lc 7:28-7:31 | 210 | gadt01.lc 7:28-7:31 |
211 | String -> Type | 211 | String -> Type |
212 | testdata/language-features/adt/gadt01.lc 7:28-7:33 | 212 | gadt01.lc 7:28-7:33 |
213 | Type | Type | 213 | Type | Type |
214 | testdata/language-features/adt/gadt01.lc 7:30-7:31 | 214 | gadt01.lc 7:30-7:31 |
215 | Type | Type | 215 | Type | Type |
216 | testdata/language-features/adt/gadt01.lc 7:30-7:33 | 216 | gadt01.lc 7:30-7:33 |
217 | M _c _a -> Type | 217 | M _c _a -> Type |
218 | testdata/language-features/adt/gadt01.lc 7:32-7:33 | 218 | gadt01.lc 7:32-7:33 |
219 | _b | String | 219 | _b | String |
220 | testdata/language-features/adt/gadt01.lc 9:6-9:8 | 220 | gadt01.lc 9:6-9:8 |
221 | Type -> String -> Type | Type -> String -> Type | Type | Type | 221 | Type -> String -> Type | Type -> String -> Type | Type | Type |
222 | -> String -> Type | Type | Type | 222 | -> String -> Type | Type | Type |
223 | testdata/language-features/adt/gadt01.lc 9:6-10:35 | 223 | gadt01.lc 9:6-10:35 |
224 | Type | Type | 224 | Type | Type |
225 | testdata/language-features/adt/gadt01.lc 9:15-9:19 | 225 | gadt01.lc 9:15-9:19 |
226 | Type | Type | Type | 226 | Type | Type | Type |
227 | testdata/language-features/adt/gadt01.lc 9:24-9:30 | 227 | gadt01.lc 9:24-9:30 |
228 | Type | 228 | Type |
229 | testdata/language-features/adt/gadt01.lc 9:24-9:38 | 229 | gadt01.lc 9:24-9:38 |
230 | Type | 230 | Type |
231 | testdata/language-features/adt/gadt01.lc 9:34-9:38 | 231 | gadt01.lc 9:34-9:38 |
232 | Type | Type | 232 | Type | Type |
233 | testdata/language-features/adt/gadt01.lc 10:3-10:9 | 233 | gadt01.lc 10:3-10:9 |
234 | forall a . a -> forall (b :: String) . M2 a b | M2 _d _a | 234 | forall a . a -> forall (b :: String) . M2 a b | M2 _d _a |
235 | testdata/language-features/adt/gadt01.lc 10:3-10:35 | 235 | gadt01.lc 10:3-10:35 |
236 | Type | Type | Type | 236 | Type | Type | Type |
237 | testdata/language-features/adt/gadt01.lc 10:13-10:14 | 237 | gadt01.lc 10:13-10:14 |
238 | Type | 238 | Type |
239 | testdata/language-features/adt/gadt01.lc 10:13-10:35 | 239 | gadt01.lc 10:13-10:35 |
240 | Type | 240 | Type |
241 | testdata/language-features/adt/gadt01.lc 10:18-10:35 | 241 | gadt01.lc 10:18-10:35 |
242 | Type | 242 | Type |
243 | testdata/language-features/adt/gadt01.lc 10:29-10:31 | 243 | gadt01.lc 10:29-10:31 |
244 | Type -> String -> Type | 244 | Type -> String -> Type |
245 | testdata/language-features/adt/gadt01.lc 10:29-10:33 | 245 | gadt01.lc 10:29-10:33 |
246 | String -> Type | 246 | String -> Type |
247 | testdata/language-features/adt/gadt01.lc 10:29-10:35 | 247 | gadt01.lc 10:29-10:35 |
248 | Type | Type | 248 | Type | Type |
249 | testdata/language-features/adt/gadt01.lc 10:32-10:33 | 249 | gadt01.lc 10:32-10:33 |
250 | Type | 250 | Type |
251 | testdata/language-features/adt/gadt01.lc 10:34-10:35 | 251 | gadt01.lc 10:34-10:35 |
252 | _b | String | 252 | _b | String |
253 | testdata/language-features/adt/gadt01.lc 12:6-12:8 | 253 | gadt01.lc 12:6-12:8 |
254 | Type -> String -> Type | Type -> String -> Type | Type | Type | 254 | Type -> String -> Type | Type -> String -> Type | Type | Type |
255 | -> String -> Type | Type | Type | 255 | -> String -> Type | Type | Type |
256 | testdata/language-features/adt/gadt01.lc 12:6-13:35 | 256 | gadt01.lc 12:6-13:35 |
257 | Type | Type | 257 | Type | Type |
258 | testdata/language-features/adt/gadt01.lc 12:15-12:19 | 258 | gadt01.lc 12:15-12:19 |
259 | Type | Type | Type | 259 | Type | Type | Type |
260 | testdata/language-features/adt/gadt01.lc 12:24-12:30 | 260 | gadt01.lc 12:24-12:30 |
261 | Type | 261 | Type |
262 | testdata/language-features/adt/gadt01.lc 12:24-12:38 | 262 | gadt01.lc 12:24-12:38 |
263 | Type | 263 | Type |
264 | testdata/language-features/adt/gadt01.lc 12:34-12:38 | 264 | gadt01.lc 12:34-12:38 |
265 | Type | Type | 265 | Type | Type |
266 | testdata/language-features/adt/gadt01.lc 13:3-13:9 | 266 | gadt01.lc 13:3-13:9 |
267 | forall a (b :: String) . a -> M3 a b | M3 _d _b | 267 | forall a (b :: String) . a -> M3 a b | M3 _d _b |
268 | testdata/language-features/adt/gadt01.lc 13:3-13:35 | 268 | gadt01.lc 13:3-13:35 |
269 | Type | Type | Type | 269 | Type | Type | Type |
270 | testdata/language-features/adt/gadt01.lc 13:13-13:35 | 270 | gadt01.lc 13:13-13:35 |
271 | Type | 271 | Type |
272 | testdata/language-features/adt/gadt01.lc 13:24-13:25 | 272 | gadt01.lc 13:24-13:25 |
273 | Type | 273 | Type |
274 | testdata/language-features/adt/gadt01.lc 13:24-13:35 | 274 | gadt01.lc 13:24-13:35 |
275 | Type | 275 | Type |
276 | testdata/language-features/adt/gadt01.lc 13:29-13:31 | 276 | gadt01.lc 13:29-13:31 |
277 | Type -> String -> Type | 277 | Type -> String -> Type |
278 | testdata/language-features/adt/gadt01.lc 13:29-13:33 | 278 | gadt01.lc 13:29-13:33 |
279 | String -> Type | 279 | String -> Type |
280 | testdata/language-features/adt/gadt01.lc 13:29-13:35 | 280 | gadt01.lc 13:29-13:35 |
281 | Type | Type | 281 | Type | Type |
282 | testdata/language-features/adt/gadt01.lc 13:32-13:33 | 282 | gadt01.lc 13:32-13:33 |
283 | Type | 283 | Type |
284 | testdata/language-features/adt/gadt01.lc 13:34-13:35 | 284 | gadt01.lc 13:34-13:35 |
285 | _c | String | 285 | _c | String |
286 | testdata/language-features/adt/gadt01.lc 17:1-17:2 | 286 | gadt01.lc 17:1-17:2 |
287 | forall a (b :: String) . M2 a b -> a | 287 | forall a (b :: String) . M2 a b -> a |
288 | testdata/language-features/adt/gadt01.lc 17:5-17:12 | 288 | gadt01.lc 17:5-17:12 |
289 | forall a | 289 | forall a |
290 | . forall (b :: forall (c :: String) -> M2 a c -> Type) | 290 | . forall (b :: forall (c :: String) -> M2 a c -> Type) |
291 | -> (forall (d :: a) -> forall (e :: String) . b e ('Value2 d e)) | 291 | -> (forall (d :: a) -> forall (e :: String) . b e ('Value2 d e)) |
292 | -> forall (f :: String) . forall (g :: M2 a f) -> b f g | 292 | -> forall (f :: String) . forall (g :: M2 a f) -> b f g |
293 | testdata/language-features/adt/gadt01.lc 17:5-17:24 | 293 | gadt01.lc 17:5-17:24 |
294 | (forall (a :: _b) -> @String -> _a) -> forall (b :: String) . M2 _b b -> _a | 294 | (forall (a :: _b) -> @String -> _a) -> forall (b :: String) . M2 _b b -> _a |
295 | testdata/language-features/adt/gadt01.lc 17:5-17:37 | 295 | gadt01.lc 17:5-17:37 |
296 | forall (a :: String) . M2 _a a -> _a | 296 | forall (a :: String) . M2 _a a -> _a |
297 | testdata/language-features/adt/gadt01.lc 17:35-17:36 | 297 | gadt01.lc 17:35-17:36 |
298 | _d | 298 | _d |
299 | testdata/language-features/adt/gadt01.lc 19:1-19:2 | 299 | gadt01.lc 19:1-19:2 |
300 | forall a (b :: String) . M3 a b -> a | 300 | forall a (b :: String) . M3 a b -> a |
301 | testdata/language-features/adt/gadt01.lc 19:16-19:17 | 301 | gadt01.lc 19:16-19:17 |
302 | _d | 302 | _d |
303 | testdata/language-features/adt/gadt01.lc 21:11-21:12 | 303 | gadt01.lc 21:11-21:12 |
304 | Type -> String -> Type | 304 | Type -> String -> Type |
305 | testdata/language-features/adt/gadt01.lc 21:11-21:17 | 305 | gadt01.lc 21:11-21:17 |
306 | String -> Type | 306 | String -> Type |
307 | testdata/language-features/adt/gadt01.lc 21:11-21:21 | 307 | gadt01.lc 21:11-21:21 |
308 | Type | 308 | Type |
309 | testdata/language-features/adt/gadt01.lc 21:13-21:17 | 309 | gadt01.lc 21:13-21:17 |
310 | Type | 310 | Type |
311 | testdata/language-features/adt/gadt01.lc 21:18-21:21 | 311 | gadt01.lc 21:18-21:21 |
312 | String | 312 | String |
313 | testdata/language-features/adt/gadt01.lc 22:1-22:7 | 313 | gadt01.lc 22:1-22:7 |
314 | M Bool "m" | 314 | M Bool "m" |
315 | testdata/language-features/adt/gadt01.lc 22:10-22:15 | 315 | gadt01.lc 22:10-22:15 |
316 | forall a . a -> forall (b :: String) . M a b | 316 | forall a . a -> forall (b :: String) . M a b |
317 | testdata/language-features/adt/gadt01.lc 22:10-22:20 | 317 | gadt01.lc 22:10-22:20 |
318 | forall (a :: String) . M Bool a | 318 | forall (a :: String) . M Bool a |
319 | testdata/language-features/adt/gadt01.lc 22:16-22:20 | 319 | gadt01.lc 22:16-22:20 |
320 | Bool | 320 | Bool |
321 | testdata/language-features/adt/gadt01.lc 24:11-24:13 | 321 | gadt01.lc 24:11-24:13 |
322 | Type -> String -> Type | 322 | Type -> String -> Type |
323 | testdata/language-features/adt/gadt01.lc 24:11-24:18 | 323 | gadt01.lc 24:11-24:18 |
324 | String -> Type | 324 | String -> Type |
325 | testdata/language-features/adt/gadt01.lc 24:11-24:22 | 325 | gadt01.lc 24:11-24:22 |
326 | Type | 326 | Type |
327 | testdata/language-features/adt/gadt01.lc 24:14-24:18 | 327 | gadt01.lc 24:14-24:18 |
328 | Type | 328 | Type |
329 | testdata/language-features/adt/gadt01.lc 24:19-24:22 | 329 | gadt01.lc 24:19-24:22 |
330 | String | 330 | String |
331 | testdata/language-features/adt/gadt01.lc 25:1-25:7 | 331 | gadt01.lc 25:1-25:7 |
332 | M2 Bool "s" | 332 | M2 Bool "s" |
333 | testdata/language-features/adt/gadt01.lc 25:10-25:16 | 333 | gadt01.lc 25:10-25:16 |
334 | forall a . a -> forall (b :: String) . M2 a b | 334 | forall a . a -> forall (b :: String) . M2 a b |
335 | testdata/language-features/adt/gadt01.lc 25:10-25:21 | 335 | gadt01.lc 25:10-25:21 |
336 | forall (a :: String) . M2 Bool a | 336 | forall (a :: String) . M2 Bool a |
337 | testdata/language-features/adt/gadt01.lc 25:17-25:21 | 337 | gadt01.lc 25:17-25:21 |
338 | Bool | 338 | Bool |
339 | testdata/language-features/adt/gadt01.lc 27:11-27:13 | 339 | gadt01.lc 27:11-27:13 |
340 | Type -> String -> Type | 340 | Type -> String -> Type |
341 | testdata/language-features/adt/gadt01.lc 27:11-27:18 | 341 | gadt01.lc 27:11-27:18 |
342 | String -> Type | 342 | String -> Type |
343 | testdata/language-features/adt/gadt01.lc 27:11-27:22 | 343 | gadt01.lc 27:11-27:22 |
344 | Type | 344 | Type |
345 | testdata/language-features/adt/gadt01.lc 27:14-27:18 | 345 | gadt01.lc 27:14-27:18 |
346 | Type | 346 | Type |
347 | testdata/language-features/adt/gadt01.lc 27:19-27:22 | 347 | gadt01.lc 27:19-27:22 |
348 | String | 348 | String |
349 | testdata/language-features/adt/gadt01.lc 28:1-28:7 | 349 | gadt01.lc 28:1-28:7 |
350 | M3 Bool "t" | 350 | M3 Bool "t" |
351 | testdata/language-features/adt/gadt01.lc 28:10-28:16 | 351 | gadt01.lc 28:10-28:16 |
352 | forall a (b :: String) . a -> M3 a b | 352 | forall a (b :: String) . a -> M3 a b |
353 | testdata/language-features/adt/gadt01.lc 28:10-28:21 | 353 | gadt01.lc 28:10-28:21 |
354 | M3 Bool _a | 354 | M3 Bool _a |
355 | testdata/language-features/adt/gadt01.lc 28:17-28:21 | 355 | gadt01.lc 28:17-28:21 |
356 | Bool | 356 | Bool |
357 | testdata/language-features/adt/gadt01.lc 30:1-30:5 | 357 | gadt01.lc 30:1-30:5 |
358 | Bool | 358 | Bool |
359 | testdata/language-features/adt/gadt01.lc 30:8-30:9 | 359 | gadt01.lc 30:8-30:9 |
360 | forall a (b :: String) . M2 a b -> a | 360 | forall a (b :: String) . M2 a b -> a |
361 | testdata/language-features/adt/gadt01.lc 30:8-30:16 | 361 | gadt01.lc 30:8-30:16 |
362 | Bool | 362 | Bool |
363 | testdata/language-features/adt/gadt01.lc 30:8-30:19 | 363 | gadt01.lc 30:8-30:19 |
364 | Bool -> Bool | 364 | Bool -> Bool |
365 | testdata/language-features/adt/gadt01.lc 30:8-30:28 | 365 | gadt01.lc 30:8-30:28 |
366 | Bool | 366 | Bool |
367 | testdata/language-features/adt/gadt01.lc 30:10-30:16 | 367 | gadt01.lc 30:10-30:16 |
368 | M2 Bool "s" | 368 | M2 Bool "s" |
369 | testdata/language-features/adt/gadt01.lc 30:17-30:19 | 369 | gadt01.lc 30:17-30:19 |
370 | Bool -> Bool -> Bool | 370 | Bool -> Bool -> Bool |
371 | testdata/language-features/adt/gadt01.lc 30:20-30:21 | 371 | gadt01.lc 30:20-30:21 |
372 | forall a (b :: String) . M3 a b -> a | 372 | forall a (b :: String) . M3 a b -> a |
373 | testdata/language-features/adt/gadt01.lc 30:20-30:28 | 373 | gadt01.lc 30:20-30:28 |
374 | Bool | 374 | Bool |
375 | testdata/language-features/adt/gadt01.lc 30:22-30:28 | 375 | gadt01.lc 30:22-30:28 |
376 | M3 Bool "t" \ No newline at end of file | 376 | M3 Bool "t" \ No newline at end of file |
diff --git a/testdata/language-features/adt/gadt01.reject.out b/testdata/language-features/adt/gadt01.reject.out index ce6834db..d5a59c56 100644 --- a/testdata/language-features/adt/gadt01.reject.out +++ b/testdata/language-features/adt/gadt01.reject.out | |||
@@ -3,9 +3,9 @@ illegal data definition (parameters are not uniform) | |||
3 | 'M3 :: Type -> String -> Type | 3 | 'M3 :: Type -> String -> Type |
4 | !illegal data definition (parameters are not uniform) | 4 | !illegal data definition (parameters are not uniform) |
5 | ------------ tooltips | 5 | ------------ tooltips |
6 | testdata/language-features/adt/gadt01.reject.lc 5:6-5:8 | 6 | gadt01.reject.lc 5:6-5:8 |
7 | Type -> String -> Type | 7 | Type -> String -> Type |
8 | testdata/language-features/adt/gadt01.reject.lc 5:15-5:19 | 8 | gadt01.reject.lc 5:15-5:19 |
9 | Type | 9 | Type |
10 | testdata/language-features/adt/gadt01.reject.lc 5:27-5:33 | 10 | gadt01.reject.lc 5:27-5:33 |
11 | Type | Type \ No newline at end of file | 11 | Type | Type \ No newline at end of file |
diff --git a/testdata/language-features/adt/gadt03.reject.out b/testdata/language-features/adt/gadt03.reject.out index 617050b6..ee28c6db 100644 --- a/testdata/language-features/adt/gadt03.reject.out +++ b/testdata/language-features/adt/gadt03.reject.out | |||
@@ -13,46 +13,46 @@ match'M2 | |||
13 | 'M3 :: Type -> String -> Type | 13 | 'M3 :: Type -> String -> Type |
14 | !illegal data definition (parameters are not uniform) | 14 | !illegal data definition (parameters are not uniform) |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | testdata/language-features/adt/gadt03.reject.lc 2:6-2:8 | 16 | gadt03.reject.lc 2:6-2:8 |
17 | Type -> String -> Type | Type -> String -> Type | Type | Type | 17 | Type -> String -> Type | Type -> String -> Type | Type | Type |
18 | -> String -> Type | Type | Type | 18 | -> String -> Type | Type | Type |
19 | testdata/language-features/adt/gadt03.reject.lc 2:6-3:35 | 19 | gadt03.reject.lc 2:6-3:35 |
20 | Type | Type | 20 | Type | Type |
21 | testdata/language-features/adt/gadt03.reject.lc 2:15-2:19 | 21 | gadt03.reject.lc 2:15-2:19 |
22 | Type | Type | Type | 22 | Type | Type | Type |
23 | testdata/language-features/adt/gadt03.reject.lc 2:24-2:30 | 23 | gadt03.reject.lc 2:24-2:30 |
24 | Type | 24 | Type |
25 | testdata/language-features/adt/gadt03.reject.lc 2:24-2:38 | 25 | gadt03.reject.lc 2:24-2:38 |
26 | Type | 26 | Type |
27 | testdata/language-features/adt/gadt03.reject.lc 2:34-2:38 | 27 | gadt03.reject.lc 2:34-2:38 |
28 | Type | Type | 28 | Type | Type |
29 | testdata/language-features/adt/gadt03.reject.lc 3:3-3:9 | 29 | gadt03.reject.lc 3:3-3:9 |
30 | forall a . a -> forall (b :: String) . M2 a b | M2 _d _a | 30 | forall a . a -> forall (b :: String) . M2 a b | M2 _d _a |
31 | testdata/language-features/adt/gadt03.reject.lc 3:3-3:35 | 31 | gadt03.reject.lc 3:3-3:35 |
32 | Type | Type | Type | 32 | Type | Type | Type |
33 | testdata/language-features/adt/gadt03.reject.lc 3:13-3:14 | 33 | gadt03.reject.lc 3:13-3:14 |
34 | Type | 34 | Type |
35 | testdata/language-features/adt/gadt03.reject.lc 3:13-3:35 | 35 | gadt03.reject.lc 3:13-3:35 |
36 | Type | 36 | Type |
37 | testdata/language-features/adt/gadt03.reject.lc 3:18-3:35 | 37 | gadt03.reject.lc 3:18-3:35 |
38 | Type | 38 | Type |
39 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:31 | 39 | gadt03.reject.lc 3:29-3:31 |
40 | Type -> String -> Type | 40 | Type -> String -> Type |
41 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:33 | 41 | gadt03.reject.lc 3:29-3:33 |
42 | String -> Type | 42 | String -> Type |
43 | testdata/language-features/adt/gadt03.reject.lc 3:29-3:35 | 43 | gadt03.reject.lc 3:29-3:35 |
44 | Type | Type | 44 | Type | Type |
45 | testdata/language-features/adt/gadt03.reject.lc 3:32-3:33 | 45 | gadt03.reject.lc 3:32-3:33 |
46 | Type | 46 | Type |
47 | testdata/language-features/adt/gadt03.reject.lc 3:34-3:35 | 47 | gadt03.reject.lc 3:34-3:35 |
48 | _b | String | 48 | _b | String |
49 | testdata/language-features/adt/gadt03.reject.lc 5:6-5:8 | 49 | gadt03.reject.lc 5:6-5:8 |
50 | Type -> String -> Type | 50 | Type -> String -> Type |
51 | testdata/language-features/adt/gadt03.reject.lc 5:15-5:19 | 51 | gadt03.reject.lc 5:15-5:19 |
52 | Type | 52 | Type |
53 | testdata/language-features/adt/gadt03.reject.lc 5:24-5:30 | 53 | gadt03.reject.lc 5:24-5:30 |
54 | Type | 54 | Type |
55 | testdata/language-features/adt/gadt03.reject.lc 5:24-5:38 | 55 | gadt03.reject.lc 5:24-5:38 |
56 | Type | 56 | Type |
57 | testdata/language-features/adt/gadt03.reject.lc 5:34-5:38 | 57 | gadt03.reject.lc 5:34-5:38 |
58 | Type | Type \ No newline at end of file | 58 | Type | Type \ No newline at end of file |
diff --git a/testdata/language-features/adt/gadt04.reject.out b/testdata/language-features/adt/gadt04.reject.out index 7d351f15..1d03ccc1 100644 --- a/testdata/language-features/adt/gadt04.reject.out +++ b/testdata/language-features/adt/gadt04.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3: | 1 | already defined Value at gadt04.reject.lc:6:3: |
2 | Value :: a -> forall m . M2 a m | 2 | Value :: a -> forall m . M2 a m |
3 | ^^^^^ | 3 | ^^^^^ |
4 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: | 4 | and at gadt04.reject.lc:3:3: |
5 | Value :: a -> forall m . M a m | 5 | Value :: a -> forall m . M a m |
6 | ^^^^^ | 6 | ^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -16,71 +16,71 @@ match'M | |||
16 | -> (forall b (c :: String) -> a (M b c)) -> forall d -> a d -> a d | 16 | -> (forall b (c :: String) -> a (M b c)) -> forall d -> a d -> a d |
17 | 'M2 :: Type -> String -> Type | 17 | 'M2 :: Type -> String -> Type |
18 | Value :: forall a . a -> forall (b :: String) . M2 a b | 18 | Value :: forall a . a -> forall (b :: String) . M2 a b |
19 | !already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3: | 19 | !already defined Value at gadt04.reject.lc:6:3: |
20 | Value :: a -> forall m . M2 a m | 20 | Value :: a -> forall m . M2 a m |
21 | ^^^^^ | 21 | ^^^^^ |
22 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: | 22 | and at gadt04.reject.lc:3:3: |
23 | Value :: a -> forall m . M a m | 23 | Value :: a -> forall m . M a m |
24 | ^^^^^ | 24 | ^^^^^ |
25 | ------------ tooltips | 25 | ------------ tooltips |
26 | testdata/language-features/adt/gadt04.reject.lc 2:6-2:7 | 26 | gadt04.reject.lc 2:6-2:7 |
27 | Type -> String -> Type | Type -> String -> Type | Type | Type | Type | 27 | Type -> String -> Type | Type -> String -> Type | Type | Type | Type |
28 | -> String -> Type | Type | Type | Type | 28 | -> String -> Type | Type | Type | Type |
29 | testdata/language-features/adt/gadt04.reject.lc 2:6-3:33 | 29 | gadt04.reject.lc 2:6-3:33 |
30 | Type | 30 | Type |
31 | testdata/language-features/adt/gadt04.reject.lc 2:11-2:15 | 31 | gadt04.reject.lc 2:11-2:15 |
32 | Type | 32 | Type |
33 | testdata/language-features/adt/gadt04.reject.lc 2:19-2:25 | 33 | gadt04.reject.lc 2:19-2:25 |
34 | Type | 34 | Type |
35 | testdata/language-features/adt/gadt04.reject.lc 2:19-2:33 | 35 | gadt04.reject.lc 2:19-2:33 |
36 | Type | 36 | Type |
37 | testdata/language-features/adt/gadt04.reject.lc 2:29-2:33 | 37 | gadt04.reject.lc 2:29-2:33 |
38 | Type | Type | 38 | Type | Type |
39 | testdata/language-features/adt/gadt04.reject.lc 3:3-3:8 | 39 | gadt04.reject.lc 3:3-3:8 |
40 | forall a . a -> forall (b :: String) . M a b | M _c _a | 40 | forall a . a -> forall (b :: String) . M a b | M _c _a |
41 | testdata/language-features/adt/gadt04.reject.lc 3:3-3:33 | 41 | gadt04.reject.lc 3:3-3:33 |
42 | Type | Type | Type | Type | 42 | Type | Type | Type | Type |
43 | testdata/language-features/adt/gadt04.reject.lc 3:12-3:13 | 43 | gadt04.reject.lc 3:12-3:13 |
44 | _b | 44 | _b |
45 | testdata/language-features/adt/gadt04.reject.lc 3:12-3:33 | 45 | gadt04.reject.lc 3:12-3:33 |
46 | Type | 46 | Type |
47 | testdata/language-features/adt/gadt04.reject.lc 3:17-3:33 | 47 | gadt04.reject.lc 3:17-3:33 |
48 | Type | 48 | Type |
49 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:29 | 49 | gadt04.reject.lc 3:28-3:29 |
50 | Type -> String -> Type | 50 | Type -> String -> Type |
51 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:31 | 51 | gadt04.reject.lc 3:28-3:31 |
52 | String -> Type | 52 | String -> Type |
53 | testdata/language-features/adt/gadt04.reject.lc 3:28-3:33 | 53 | gadt04.reject.lc 3:28-3:33 |
54 | Type | Type | 54 | Type | Type |
55 | testdata/language-features/adt/gadt04.reject.lc 3:30-3:31 | 55 | gadt04.reject.lc 3:30-3:31 |
56 | Type | Type | 56 | Type | Type |
57 | testdata/language-features/adt/gadt04.reject.lc 3:30-3:33 | 57 | gadt04.reject.lc 3:30-3:33 |
58 | M _c _a -> Type | 58 | M _c _a -> Type |
59 | testdata/language-features/adt/gadt04.reject.lc 3:32-3:33 | 59 | gadt04.reject.lc 3:32-3:33 |
60 | _b | String | 60 | _b | String |
61 | testdata/language-features/adt/gadt04.reject.lc 5:6-5:8 | 61 | gadt04.reject.lc 5:6-5:8 |
62 | Type -> String -> Type | 62 | Type -> String -> Type |
63 | testdata/language-features/adt/gadt04.reject.lc 5:12-5:16 | 63 | gadt04.reject.lc 5:12-5:16 |
64 | Type | 64 | Type |
65 | testdata/language-features/adt/gadt04.reject.lc 5:20-5:26 | 65 | gadt04.reject.lc 5:20-5:26 |
66 | Type | 66 | Type |
67 | testdata/language-features/adt/gadt04.reject.lc 5:20-5:34 | 67 | gadt04.reject.lc 5:20-5:34 |
68 | Type | 68 | Type |
69 | testdata/language-features/adt/gadt04.reject.lc 5:30-5:34 | 69 | gadt04.reject.lc 5:30-5:34 |
70 | Type | Type | 70 | Type | Type |
71 | testdata/language-features/adt/gadt04.reject.lc 6:12-6:13 | 71 | gadt04.reject.lc 6:12-6:13 |
72 | _b | 72 | _b |
73 | testdata/language-features/adt/gadt04.reject.lc 6:12-6:34 | 73 | gadt04.reject.lc 6:12-6:34 |
74 | Type | 74 | Type |
75 | testdata/language-features/adt/gadt04.reject.lc 6:17-6:34 | 75 | gadt04.reject.lc 6:17-6:34 |
76 | Type | 76 | Type |
77 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:30 | 77 | gadt04.reject.lc 6:28-6:30 |
78 | Type -> String -> Type | 78 | Type -> String -> Type |
79 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:32 | 79 | gadt04.reject.lc 6:28-6:32 |
80 | String -> Type | 80 | String -> Type |
81 | testdata/language-features/adt/gadt04.reject.lc 6:28-6:34 | 81 | gadt04.reject.lc 6:28-6:34 |
82 | Type | Type | 82 | Type | Type |
83 | testdata/language-features/adt/gadt04.reject.lc 6:31-6:32 | 83 | gadt04.reject.lc 6:31-6:32 |
84 | Type | 84 | Type |
85 | testdata/language-features/adt/gadt04.reject.lc 6:33-6:34 | 85 | gadt04.reject.lc 6:33-6:34 |
86 | _b \ No newline at end of file | 86 | _b \ No newline at end of file |
diff --git a/testdata/language-features/as-pattern/as-pattern01.out b/testdata/language-features/as-pattern/as-pattern01.out index 3e2c4116..e4e690f5 100644 --- a/testdata/language-features/as-pattern/as-pattern01.out +++ b/testdata/language-features/as-pattern/as-pattern01.out | |||
@@ -40,59 +40,59 @@ main | |||
40 | = \a b c d e -> _rhs | 40 | = \a b c d e -> _rhs |
41 | ((a == b) (g (fromInt a e 3) (fromInt a e 1)) (fromInt a e 5)) | 41 | ((a == b) (g (fromInt a e 3) (fromInt a e 1)) (fromInt a e 5)) |
42 | ------------ tooltips | 42 | ------------ tooltips |
43 | testdata/language-features/as-pattern/as-pattern01.lc 1:1-1:2 | 43 | as-pattern01.lc 1:1-1:2 |
44 | forall a . [a] -> [a] | 44 | forall a . [a] -> [a] |
45 | testdata/language-features/as-pattern/as-pattern01.lc 1:14-1:15 | 45 | as-pattern01.lc 1:14-1:15 |
46 | _e | 46 | _e |
47 | testdata/language-features/as-pattern/as-pattern01.lc 1:14-1:16 | 47 | as-pattern01.lc 1:14-1:16 |
48 | [_d] -> [_d] | 48 | [_d] -> [_d] |
49 | testdata/language-features/as-pattern/as-pattern01.lc 1:14-1:17 | 49 | as-pattern01.lc 1:14-1:17 |
50 | [_c] | 50 | [_c] |
51 | testdata/language-features/as-pattern/as-pattern01.lc 1:15-1:16 | 51 | as-pattern01.lc 1:15-1:16 |
52 | forall a . a -> [a] -> [a] | 52 | forall a . a -> [a] -> [a] |
53 | testdata/language-features/as-pattern/as-pattern01.lc 1:16-1:17 | 53 | as-pattern01.lc 1:16-1:17 |
54 | _e | 54 | _e |
55 | testdata/language-features/as-pattern/as-pattern01.lc 3:1-3:2 | 55 | as-pattern01.lc 3:1-3:2 |
56 | forall a . (Num (MatVecScalarElem a), Eq a, Num a) => a -> a -> a | 56 | forall a . (Num (MatVecScalarElem a), Eq a, Num a) => a -> a -> a |
57 | testdata/language-features/as-pattern/as-pattern01.lc 3:11-3:12 | 57 | as-pattern01.lc 3:11-3:12 |
58 | _g | 58 | _g |
59 | testdata/language-features/as-pattern/as-pattern01.lc 3:11-3:14 | 59 | as-pattern01.lc 3:11-3:14 |
60 | _f -> _f | 60 | _f -> _f |
61 | testdata/language-features/as-pattern/as-pattern01.lc 3:11-3:16 | 61 | as-pattern01.lc 3:11-3:16 |
62 | _d | 62 | _d |
63 | testdata/language-features/as-pattern/as-pattern01.lc 3:13-3:14 | 63 | as-pattern01.lc 3:13-3:14 |
64 | forall a . Num (MatVecScalarElem a) => a -> a -> a | 64 | forall a . Num (MatVecScalarElem a) => a -> a -> a |
65 | testdata/language-features/as-pattern/as-pattern01.lc 3:15-3:16 | 65 | as-pattern01.lc 3:15-3:16 |
66 | _c | 66 | _c |
67 | testdata/language-features/as-pattern/as-pattern01.lc 7:9-7:13 | 67 | as-pattern01.lc 7:9-7:13 |
68 | Type | 68 | Type |
69 | testdata/language-features/as-pattern/as-pattern01.lc 8:1-8:5 | 69 | as-pattern01.lc 8:1-8:5 |
70 | forall a . (Eq a, Num (MatVecScalarElem a), Eq a, Num a) => Bool | 70 | forall a . (Eq a, Num (MatVecScalarElem a), Eq a, Num a) => Bool |
71 | testdata/language-features/as-pattern/as-pattern01.lc 8:8-8:9 | 71 | as-pattern01.lc 8:8-8:9 |
72 | forall a . (Num (MatVecScalarElem a), Eq a, Num a) => a -> a -> a | 72 | forall a . (Num (MatVecScalarElem a), Eq a, Num a) => a -> a -> a |
73 | testdata/language-features/as-pattern/as-pattern01.lc 8:8-8:11 | 73 | as-pattern01.lc 8:8-8:11 |
74 | _e -> _e | 74 | _e -> _e |
75 | testdata/language-features/as-pattern/as-pattern01.lc 8:8-8:13 | 75 | as-pattern01.lc 8:8-8:13 |
76 | _f | 76 | _f |
77 | testdata/language-features/as-pattern/as-pattern01.lc 8:8-8:16 | 77 | as-pattern01.lc 8:8-8:16 |
78 | _e -> Bool | 78 | _e -> Bool |
79 | testdata/language-features/as-pattern/as-pattern01.lc 8:8-8:18 | 79 | as-pattern01.lc 8:8-8:18 |
80 | Bool | 80 | Bool |
81 | testdata/language-features/as-pattern/as-pattern01.lc 8:10-8:11 | 81 | as-pattern01.lc 8:10-8:11 |
82 | _b | 82 | _b |
83 | testdata/language-features/as-pattern/as-pattern01.lc 8:12-8:13 | 83 | as-pattern01.lc 8:12-8:13 |
84 | _b | 84 | _b |
85 | testdata/language-features/as-pattern/as-pattern01.lc 8:14-8:16 | 85 | as-pattern01.lc 8:14-8:16 |
86 | forall a . Eq a => a -> a -> Bool | 86 | forall a . Eq a => a -> a -> Bool |
87 | testdata/language-features/as-pattern/as-pattern01.lc 8:17-8:18 | 87 | as-pattern01.lc 8:17-8:18 |
88 | _b | 88 | _b |
89 | ------------ warnings | 89 | ------------ warnings |
90 | Uncovered pattern(s) at testdata/language-features/as-pattern/as-pattern01.lc:1:1: | 90 | Uncovered pattern(s) at as-pattern01.lc:1:1: |
91 | f y@(x:xs) = x:y | 91 | f y@(x:xs) = x:y |
92 | ^ | 92 | ^ |
93 | Missing case(s): | 93 | Missing case(s): |
94 | f _ | [] <- _a | 94 | f _ | [] <- _a |
95 | Uncovered pattern(s) at testdata/language-features/as-pattern/as-pattern01.lc:3:1: | 95 | Uncovered pattern(s) at as-pattern01.lc:3:1: |
96 | g x@3 y = x + y | 96 | g x@3 y = x + y |
97 | ^ | 97 | ^ |
98 | Missing case(s): | 98 | Missing case(s): |
diff --git a/testdata/language-features/as-pattern/as-pattern02.out b/testdata/language-features/as-pattern/as-pattern02.out index 8b4ba9d5..351bd9ee 100644 --- a/testdata/language-features/as-pattern/as-pattern02.out +++ b/testdata/language-features/as-pattern/as-pattern02.out | |||
@@ -64,84 +64,84 @@ main | |||
64 | [fromInt a c 1]) | 64 | [fromInt a c 1]) |
65 | (undefined ([d] -> [d] -> 'Bool) (f [fromInt d f 1]) [fromInt d f 1])) | 65 | (undefined ([d] -> [d] -> 'Bool) (f [fromInt d f 1]) [fromInt d f 1])) |
66 | ------------ tooltips | 66 | ------------ tooltips |
67 | testdata/language-features/as-pattern/as-pattern02.lc 3:1-3:2 | 67 | as-pattern02.lc 3:1-3:2 |
68 | forall a . (Eq a, Num a) => [a] -> [a] | 68 | forall a . (Eq a, Num a) => [a] -> [a] |
69 | testdata/language-features/as-pattern/as-pattern02.lc 3:7-4:49 | 69 | as-pattern02.lc 3:7-4:49 |
70 | [_c] | 70 | [_c] |
71 | testdata/language-features/as-pattern/as-pattern02.lc 3:12-3:13 | 71 | as-pattern02.lc 3:12-3:13 |
72 | _e | 72 | _e |
73 | testdata/language-features/as-pattern/as-pattern02.lc 4:24-4:49 | 73 | as-pattern02.lc 4:24-4:49 |
74 | [_e] | 74 | [_e] |
75 | testdata/language-features/as-pattern/as-pattern02.lc 4:27-4:28 | 75 | as-pattern02.lc 4:27-4:28 |
76 | _g | 76 | _g |
77 | testdata/language-features/as-pattern/as-pattern02.lc 4:27-4:30 | 77 | as-pattern02.lc 4:27-4:30 |
78 | _f -> Bool | 78 | _f -> Bool |
79 | testdata/language-features/as-pattern/as-pattern02.lc 4:27-4:31 | 79 | as-pattern02.lc 4:27-4:31 |
80 | Bool | 80 | Bool |
81 | testdata/language-features/as-pattern/as-pattern02.lc 4:27-4:41 | 81 | as-pattern02.lc 4:27-4:41 |
82 | [_f] -> [_f] | 82 | [_f] -> [_f] |
83 | testdata/language-features/as-pattern/as-pattern02.lc 4:28-4:30 | 83 | as-pattern02.lc 4:28-4:30 |
84 | forall a . Eq a => a -> a -> Bool | 84 | forall a . Eq a => a -> a -> Bool |
85 | testdata/language-features/as-pattern/as-pattern02.lc 4:30-4:31 | 85 | as-pattern02.lc 4:30-4:31 |
86 | _b | 86 | _b |
87 | testdata/language-features/as-pattern/as-pattern02.lc 4:37-4:41 | 87 | as-pattern02.lc 4:37-4:41 |
88 | [_g] | 88 | [_g] |
89 | testdata/language-features/as-pattern/as-pattern02.lc 4:47-4:49 | 89 | as-pattern02.lc 4:47-4:49 |
90 | _g | 90 | _g |
91 | testdata/language-features/as-pattern/as-pattern02.lc 6:9-6:13 | 91 | as-pattern02.lc 6:9-6:13 |
92 | Type | 92 | Type |
93 | testdata/language-features/as-pattern/as-pattern02.lc 7:1-7:5 | 93 | as-pattern02.lc 7:1-7:5 |
94 | forall a | 94 | forall a |
95 | . Eq a | 95 | . Eq a |
96 | => forall b | 96 | => forall b |
97 | . (a ~ [b], Eq b, Num b) | 97 | . (a ~ [b], Eq b, Num b) |
98 | => forall c . Eq c => forall d . (c ~ [d], Eq d, Num d) => Bool | 98 | => forall c . Eq c => forall d . (c ~ [d], Eq d, Num d) => Bool |
99 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:9 | 99 | as-pattern02.lc 7:8-7:9 |
100 | forall a . (Eq a, Num a) => [a] -> [a] | 100 | forall a . (Eq a, Num a) => [a] -> [a] |
101 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:15 | 101 | as-pattern02.lc 7:8-7:15 |
102 | [_d] | 102 | [_d] |
103 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:18 | 103 | as-pattern02.lc 7:8-7:18 |
104 | [_c] -> Bool | 104 | [_c] -> Bool |
105 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:22 | 105 | as-pattern02.lc 7:8-7:22 |
106 | Bool | 106 | Bool |
107 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:25 | 107 | as-pattern02.lc 7:8-7:25 |
108 | Bool -> Bool | 108 | Bool -> Bool |
109 | testdata/language-features/as-pattern/as-pattern02.lc 7:8-7:38 | 109 | as-pattern02.lc 7:8-7:38 |
110 | Bool | 110 | Bool |
111 | testdata/language-features/as-pattern/as-pattern02.lc 7:10-7:15 | 111 | as-pattern02.lc 7:10-7:15 |
112 | [_e] | 112 | [_e] |
113 | testdata/language-features/as-pattern/as-pattern02.lc 7:11-7:12 | 113 | as-pattern02.lc 7:11-7:12 |
114 | _b | 114 | _b |
115 | testdata/language-features/as-pattern/as-pattern02.lc 7:13-7:14 | 115 | as-pattern02.lc 7:13-7:14 |
116 | _b | [_e] | 116 | _b | [_e] |
117 | testdata/language-features/as-pattern/as-pattern02.lc 7:16-7:18 | 117 | as-pattern02.lc 7:16-7:18 |
118 | forall a . Eq a => a -> a -> Bool | 118 | forall a . Eq a => a -> a -> Bool |
119 | testdata/language-features/as-pattern/as-pattern02.lc 7:19-7:22 | 119 | as-pattern02.lc 7:19-7:22 |
120 | [_d] | 120 | [_d] |
121 | testdata/language-features/as-pattern/as-pattern02.lc 7:20-7:21 | 121 | as-pattern02.lc 7:20-7:21 |
122 | _b | 122 | _b |
123 | testdata/language-features/as-pattern/as-pattern02.lc 7:23-7:25 | 123 | as-pattern02.lc 7:23-7:25 |
124 | Bool -> Bool -> Bool | 124 | Bool -> Bool -> Bool |
125 | testdata/language-features/as-pattern/as-pattern02.lc 7:26-7:27 | 125 | as-pattern02.lc 7:26-7:27 |
126 | forall a . (Eq a, Num a) => [a] -> [a] | 126 | forall a . (Eq a, Num a) => [a] -> [a] |
127 | testdata/language-features/as-pattern/as-pattern02.lc 7:26-7:31 | 127 | as-pattern02.lc 7:26-7:31 |
128 | [_d] | 128 | [_d] |
129 | testdata/language-features/as-pattern/as-pattern02.lc 7:26-7:34 | 129 | as-pattern02.lc 7:26-7:34 |
130 | [_c] -> Bool | 130 | [_c] -> Bool |
131 | testdata/language-features/as-pattern/as-pattern02.lc 7:26-7:38 | 131 | as-pattern02.lc 7:26-7:38 |
132 | Bool | 132 | Bool |
133 | testdata/language-features/as-pattern/as-pattern02.lc 7:28-7:31 | 133 | as-pattern02.lc 7:28-7:31 |
134 | [_d] | 134 | [_d] |
135 | testdata/language-features/as-pattern/as-pattern02.lc 7:29-7:30 | 135 | as-pattern02.lc 7:29-7:30 |
136 | _b | 136 | _b |
137 | testdata/language-features/as-pattern/as-pattern02.lc 7:32-7:34 | 137 | as-pattern02.lc 7:32-7:34 |
138 | forall a . Eq a => a -> a -> Bool | 138 | forall a . Eq a => a -> a -> Bool |
139 | testdata/language-features/as-pattern/as-pattern02.lc 7:35-7:38 | 139 | as-pattern02.lc 7:35-7:38 |
140 | [_d] | 140 | [_d] |
141 | testdata/language-features/as-pattern/as-pattern02.lc 7:36-7:37 | 141 | as-pattern02.lc 7:36-7:37 |
142 | _b | 142 | _b |
143 | ------------ warnings | 143 | ------------ warnings |
144 | Uncovered pattern(s) at testdata/language-features/as-pattern/as-pattern02.lc:3:12: | 144 | Uncovered pattern(s) at as-pattern02.lc:3:12: |
145 | f e = case e of | 145 | f e = case e of |
146 | ^ | 146 | ^ |
147 | Missing case(s): | 147 | Missing case(s): |
diff --git a/testdata/language-features/as-pattern/as-pattern02.reject.out b/testdata/language-features/as-pattern/as-pattern02.reject.out index 9e6ac4ce..2d74fd5d 100644 --- a/testdata/language-features/as-pattern/as-pattern02.reject.out +++ b/testdata/language-features/as-pattern/as-pattern02.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | multiple pattern vars: | 1 | multiple pattern vars: |
2 | x is defined at | 2 | x is defined at |
3 | testdata/language-features/as-pattern/as-pattern02.reject.lc:2:3: | 3 | as-pattern02.reject.lc:2:3: |
4 | f x@[x:xs] = x:xs | 4 | f x@[x:xs] = x:xs |
5 | ^ | 5 | ^ |
6 | testdata/language-features/as-pattern/as-pattern02.reject.lc:2:6: | 6 | as-pattern02.reject.lc:2:6: |
7 | f x@[x:xs] = x:xs | 7 | f x@[x:xs] = x:xs |
8 | ^ | 8 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/dotdot01.out b/testdata/language-features/basic-list/dotdot01.out index c564f228..b1e0fac8 100644 --- a/testdata/language-features/basic-list/dotdot01.out +++ b/testdata/language-features/basic-list/dotdot01.out | |||
@@ -6,11 +6,11 @@ main = _lhs main (_rhs (fromTo (fromInt 1) (fromInt 10))) | |||
6 | main :: [Float] | 6 | main :: [Float] |
7 | main = _rhs (1.0 : fromTo (1.0 + 1.0) 10.0) | 7 | main = _rhs (1.0 : fromTo (1.0 + 1.0) 10.0) |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/basic-list/dotdot01.lc 2:1-2:5 | 9 | dotdot01.lc 2:1-2:5 |
10 | [Float] | 10 | [Float] |
11 | testdata/language-features/basic-list/dotdot01.lc 2:8-2:15 | 11 | dotdot01.lc 2:8-2:15 |
12 | [Float] | 12 | [Float] |
13 | testdata/language-features/basic-list/dotdot01.lc 2:9-2:10 | 13 | dotdot01.lc 2:9-2:10 |
14 | _b | 14 | _b |
15 | testdata/language-features/basic-list/dotdot01.lc 2:12-2:14 | 15 | dotdot01.lc 2:12-2:14 |
16 | _b \ No newline at end of file | 16 | _b \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list01.out b/testdata/language-features/basic-list/list01.out index 4a4d6cda..e8fabda7 100644 --- a/testdata/language-features/basic-list/list01.out +++ b/testdata/language-features/basic-list/list01.out | |||
@@ -16,43 +16,43 @@ value2 | |||
16 | value3 :: [Char] | 16 | value3 :: [Char] |
17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] | 17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | testdata/language-features/basic-list/list01.lc 1:1-1:7 | 19 | list01.lc 1:1-1:7 |
20 | forall a . [a] | 20 | forall a . [a] |
21 | testdata/language-features/basic-list/list01.lc 1:10-1:12 | 21 | list01.lc 1:10-1:12 |
22 | forall a . [a] | 22 | forall a . [a] |
23 | testdata/language-features/basic-list/list01.lc 2:1-2:7 | 23 | list01.lc 2:1-2:7 |
24 | forall a . Num a => [a] | 24 | forall a . Num a => [a] |
25 | testdata/language-features/basic-list/list01.lc 2:10-2:19 | 25 | list01.lc 2:10-2:19 |
26 | [_c] | 26 | [_c] |
27 | testdata/language-features/basic-list/list01.lc 2:11-2:12 | 27 | list01.lc 2:11-2:12 |
28 | _b | 28 | _b |
29 | testdata/language-features/basic-list/list01.lc 2:13-2:14 | 29 | list01.lc 2:13-2:14 |
30 | _b | 30 | _b |
31 | testdata/language-features/basic-list/list01.lc 2:13-2:18 | 31 | list01.lc 2:13-2:18 |
32 | [_d] | 32 | [_d] |
33 | testdata/language-features/basic-list/list01.lc 2:15-2:16 | 33 | list01.lc 2:15-2:16 |
34 | _b | 34 | _b |
35 | testdata/language-features/basic-list/list01.lc 2:15-2:18 | 35 | list01.lc 2:15-2:18 |
36 | [_e] | 36 | [_e] |
37 | testdata/language-features/basic-list/list01.lc 2:17-2:18 | 37 | list01.lc 2:17-2:18 |
38 | _b | [_e] | 38 | _b | [_e] |
39 | testdata/language-features/basic-list/list01.lc 3:1-3:7 | 39 | list01.lc 3:1-3:7 |
40 | [Char] | 40 | [Char] |
41 | testdata/language-features/basic-list/list01.lc 3:10-3:31 | 41 | list01.lc 3:10-3:31 |
42 | [Char] | 42 | [Char] |
43 | testdata/language-features/basic-list/list01.lc 3:11-3:14 | 43 | list01.lc 3:11-3:14 |
44 | Char | 44 | Char |
45 | testdata/language-features/basic-list/list01.lc 3:15-3:18 | 45 | list01.lc 3:15-3:18 |
46 | Char | 46 | Char |
47 | testdata/language-features/basic-list/list01.lc 3:15-3:30 | 47 | list01.lc 3:15-3:30 |
48 | [Char] | 48 | [Char] |
49 | testdata/language-features/basic-list/list01.lc 3:19-3:22 | 49 | list01.lc 3:19-3:22 |
50 | Char | 50 | Char |
51 | testdata/language-features/basic-list/list01.lc 3:19-3:30 | 51 | list01.lc 3:19-3:30 |
52 | [Char] | 52 | [Char] |
53 | testdata/language-features/basic-list/list01.lc 3:23-3:26 | 53 | list01.lc 3:23-3:26 |
54 | Char | 54 | Char |
55 | testdata/language-features/basic-list/list01.lc 3:23-3:30 | 55 | list01.lc 3:23-3:30 |
56 | [Char] | 56 | [Char] |
57 | testdata/language-features/basic-list/list01.lc 3:27-3:30 | 57 | list01.lc 3:27-3:30 |
58 | Char | [Char] \ No newline at end of file | 58 | Char | [Char] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list02.out b/testdata/language-features/basic-list/list02.out index 290d0482..cbec659d 100644 --- a/testdata/language-features/basic-list/list02.out +++ b/testdata/language-features/basic-list/list02.out | |||
@@ -16,43 +16,43 @@ value2 | |||
16 | value3 :: [Char] | 16 | value3 :: [Char] |
17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] | 17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | testdata/language-features/basic-list/list02.lc 1:1-1:7 | 19 | list02.lc 1:1-1:7 |
20 | forall a . [a] | 20 | forall a . [a] |
21 | testdata/language-features/basic-list/list02.lc 1:10-2:4 | 21 | list02.lc 1:10-2:4 |
22 | forall a . [a] | 22 | forall a . [a] |
23 | testdata/language-features/basic-list/list02.lc 4:1-4:7 | 23 | list02.lc 4:1-4:7 |
24 | forall a . Num a => [a] | 24 | forall a . Num a => [a] |
25 | testdata/language-features/basic-list/list02.lc 4:10-5:7 | 25 | list02.lc 4:10-5:7 |
26 | [_c] | 26 | [_c] |
27 | testdata/language-features/basic-list/list02.lc 4:11-4:12 | 27 | list02.lc 4:11-4:12 |
28 | _b | 28 | _b |
29 | testdata/language-features/basic-list/list02.lc 4:13-4:14 | 29 | list02.lc 4:13-4:14 |
30 | _b | 30 | _b |
31 | testdata/language-features/basic-list/list02.lc 4:13-5:6 | 31 | list02.lc 4:13-5:6 |
32 | [_d] | 32 | [_d] |
33 | testdata/language-features/basic-list/list02.lc 5:3-5:4 | 33 | list02.lc 5:3-5:4 |
34 | _b | 34 | _b |
35 | testdata/language-features/basic-list/list02.lc 5:3-5:6 | 35 | list02.lc 5:3-5:6 |
36 | [_e] | 36 | [_e] |
37 | testdata/language-features/basic-list/list02.lc 5:5-5:6 | 37 | list02.lc 5:5-5:6 |
38 | _b | [_e] | 38 | _b | [_e] |
39 | testdata/language-features/basic-list/list02.lc 7:1-7:7 | 39 | list02.lc 7:1-7:7 |
40 | [Char] | 40 | [Char] |
41 | testdata/language-features/basic-list/list02.lc 8:3-13:4 | 41 | list02.lc 8:3-13:4 |
42 | [Char] | 42 | [Char] |
43 | testdata/language-features/basic-list/list02.lc 8:5-8:8 | 43 | list02.lc 8:5-8:8 |
44 | Char | 44 | Char |
45 | testdata/language-features/basic-list/list02.lc 9:5-9:8 | 45 | list02.lc 9:5-9:8 |
46 | Char | 46 | Char |
47 | testdata/language-features/basic-list/list02.lc 9:5-12:8 | 47 | list02.lc 9:5-12:8 |
48 | [Char] | 48 | [Char] |
49 | testdata/language-features/basic-list/list02.lc 10:5-10:8 | 49 | list02.lc 10:5-10:8 |
50 | Char | 50 | Char |
51 | testdata/language-features/basic-list/list02.lc 10:5-12:8 | 51 | list02.lc 10:5-12:8 |
52 | [Char] | 52 | [Char] |
53 | testdata/language-features/basic-list/list02.lc 11:5-11:8 | 53 | list02.lc 11:5-11:8 |
54 | Char | 54 | Char |
55 | testdata/language-features/basic-list/list02.lc 11:5-12:8 | 55 | list02.lc 11:5-12:8 |
56 | [Char] | 56 | [Char] |
57 | testdata/language-features/basic-list/list02.lc 12:5-12:8 | 57 | list02.lc 12:5-12:8 |
58 | Char | [Char] \ No newline at end of file | 58 | Char | [Char] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list07.reject.out b/testdata/language-features/basic-list/list07.reject.out index 1d40adcc..576973a9 100644 --- a/testdata/language-features/basic-list/list07.reject.out +++ b/testdata/language-features/basic-list/list07.reject.out | |||
@@ -10,9 +10,9 @@ with | |||
10 | Char | 10 | Char |
11 | in [] | 11 | in [] |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-list/list07.reject.lc 1:10-1:11 | 13 | list07.reject.lc 1:10-1:11 |
14 | _b | 14 | _b |
15 | testdata/language-features/basic-list/list07.reject.lc 1:12-1:15 | 15 | list07.reject.lc 1:12-1:15 |
16 | Float | 16 | Float |
17 | testdata/language-features/basic-list/list07.reject.lc 1:16-1:19 | 17 | list07.reject.lc 1:16-1:19 |
18 | Char \ No newline at end of file | 18 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list08.out b/testdata/language-features/basic-list/list08.out index a9ed3391..68e3aaea 100644 --- a/testdata/language-features/basic-list/list08.out +++ b/testdata/language-features/basic-list/list08.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs [fromInt 1, 1.2]) | |||
5 | value :: [Float] | 5 | value :: [Float] |
6 | value = _rhs [1.0, 1.2] | 6 | value = _rhs [1.0, 1.2] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-list/list08.lc 1:1-1:6 | 8 | list08.lc 1:1-1:6 |
9 | [Float] | 9 | [Float] |
10 | testdata/language-features/basic-list/list08.lc 1:9-1:16 | 10 | list08.lc 1:9-1:16 |
11 | [Float] | 11 | [Float] |
12 | testdata/language-features/basic-list/list08.lc 1:10-1:11 | 12 | list08.lc 1:10-1:11 |
13 | _b | 13 | _b |
14 | testdata/language-features/basic-list/list08.lc 1:12-1:15 | 14 | list08.lc 1:12-1:15 |
15 | Float | [Float] \ No newline at end of file | 15 | Float | [Float] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list09.out b/testdata/language-features/basic-list/list09.out index c46fb913..0d09aea9 100644 --- a/testdata/language-features/basic-list/list09.out +++ b/testdata/language-features/basic-list/list09.out | |||
@@ -5,15 +5,15 @@ value = _lhs value (_rhs ([fromInt 1, 1.2] :: [Float])) | |||
5 | value :: [Float] | 5 | value :: [Float] |
6 | value = _rhs [1.0, 1.2] | 6 | value = _rhs [1.0, 1.2] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-list/list09.lc 1:1-1:6 | 8 | list09.lc 1:1-1:6 |
9 | [Float] | 9 | [Float] |
10 | testdata/language-features/basic-list/list09.lc 1:9-1:16 | 10 | list09.lc 1:9-1:16 |
11 | [Float] | 11 | [Float] |
12 | testdata/language-features/basic-list/list09.lc 1:10-1:11 | 12 | list09.lc 1:10-1:11 |
13 | _b | 13 | _b |
14 | testdata/language-features/basic-list/list09.lc 1:12-1:15 | 14 | list09.lc 1:12-1:15 |
15 | Float | [Float] | 15 | Float | [Float] |
16 | testdata/language-features/basic-list/list09.lc 1:20-1:27 | 16 | list09.lc 1:20-1:27 |
17 | Type | 17 | Type |
18 | testdata/language-features/basic-list/list09.lc 1:21-1:26 | 18 | list09.lc 1:21-1:26 |
19 | Type \ No newline at end of file | 19 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out index 760ca1fe..8cad72ab 100644 --- a/testdata/language-features/basic-list/list10.reject.out +++ b/testdata/language-features/basic-list/list10.reject.out | |||
@@ -1,5 +1,5 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:58:6: | 2 | 'Internals.lc:58:6: |
3 | data Int | 3 | data Int |
4 | ^^^ | 4 | ^^^ |
5 | with | 5 | with |
@@ -7,18 +7,18 @@ with | |||
7 | in [] | 7 | in [] |
8 | ------------ trace | 8 | ------------ trace |
9 | !type error: can not unify | 9 | !type error: can not unify |
10 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:58:6: | 10 | 'Internals.lc:58:6: |
11 | data Int | 11 | data Int |
12 | ^^^ | 12 | ^^^ |
13 | with | 13 | with |
14 | Float | 14 | Float |
15 | in [] | 15 | in [] |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-list/list10.reject.lc 1:10-1:11 | 17 | list10.reject.lc 1:10-1:11 |
18 | _b | 18 | _b |
19 | testdata/language-features/basic-list/list10.reject.lc 1:12-1:15 | 19 | list10.reject.lc 1:12-1:15 |
20 | Float | 20 | Float |
21 | testdata/language-features/basic-list/list10.reject.lc 1:20-1:25 | 21 | list10.reject.lc 1:20-1:25 |
22 | Type | 22 | Type |
23 | testdata/language-features/basic-list/list10.reject.lc 1:21-1:24 | 23 | list10.reject.lc 1:21-1:24 |
24 | Type \ No newline at end of file | 24 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list11.out b/testdata/language-features/basic-list/list11.out index 9777fcff..912daca2 100644 --- a/testdata/language-features/basic-list/list11.out +++ b/testdata/language-features/basic-list/list11.out | |||
@@ -5,15 +5,15 @@ value = _lhs value (_rhs [fromInt 1]) | |||
5 | value :: forall a . Num a => [a] | 5 | value :: forall a . Num a => [a] |
6 | value = \a b -> _rhs [fromInt a b 1] | 6 | value = \a b -> _rhs [fromInt a b 1] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-list/list11.lc 1:1-1:6 | 8 | list11.lc 1:1-1:6 |
9 | forall a . Num a => [a] | 9 | forall a . Num a => [a] |
10 | testdata/language-features/basic-list/list11.lc 1:9-1:10 | 10 | list11.lc 1:9-1:10 |
11 | _b | 11 | _b |
12 | testdata/language-features/basic-list/list11.lc 1:9-1:11 | 12 | list11.lc 1:9-1:11 |
13 | [_b] -> [_b] | 13 | [_b] -> [_b] |
14 | testdata/language-features/basic-list/list11.lc 1:9-1:13 | 14 | list11.lc 1:9-1:13 |
15 | [_b] | 15 | [_b] |
16 | testdata/language-features/basic-list/list11.lc 1:10-1:11 | 16 | list11.lc 1:10-1:11 |
17 | forall a . a -> [a] -> [a] | 17 | forall a . a -> [a] -> [a] |
18 | testdata/language-features/basic-list/list11.lc 1:11-1:13 | 18 | list11.lc 1:11-1:13 |
19 | forall a . [a] \ No newline at end of file | 19 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list12.out b/testdata/language-features/basic-list/list12.out index e8e480be..ed67387e 100644 --- a/testdata/language-features/basic-list/list12.out +++ b/testdata/language-features/basic-list/list12.out | |||
@@ -8,47 +8,47 @@ value | |||
8 | = \a b -> _rhs | 8 | = \a b -> _rhs |
9 | [fromInt a b 1, fromInt a b 2, fromInt a b 3, fromInt a b 4, fromInt a b 5] | 9 | [fromInt a b 1, fromInt a b 2, fromInt a b 3, fromInt a b 4, fromInt a b 5] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | testdata/language-features/basic-list/list12.lc 1:1-1:6 | 11 | list12.lc 1:1-1:6 |
12 | forall a . Num a => [a] | 12 | forall a . Num a => [a] |
13 | testdata/language-features/basic-list/list12.lc 1:9-1:10 | 13 | list12.lc 1:9-1:10 |
14 | _b | 14 | _b |
15 | testdata/language-features/basic-list/list12.lc 1:9-1:11 | 15 | list12.lc 1:9-1:11 |
16 | [_b] -> [_b] | 16 | [_b] -> [_b] |
17 | testdata/language-features/basic-list/list12.lc 1:9-1:21 | 17 | list12.lc 1:9-1:21 |
18 | [_c] | 18 | [_c] |
19 | testdata/language-features/basic-list/list12.lc 1:10-1:11 | 19 | list12.lc 1:10-1:11 |
20 | forall a . a -> [a] -> [a] | 20 | forall a . a -> [a] -> [a] |
21 | testdata/language-features/basic-list/list12.lc 1:11-1:12 | 21 | list12.lc 1:11-1:12 |
22 | _b | 22 | _b |
23 | testdata/language-features/basic-list/list12.lc 1:11-1:13 | 23 | list12.lc 1:11-1:13 |
24 | [_b] -> [_b] | 24 | [_b] -> [_b] |
25 | testdata/language-features/basic-list/list12.lc 1:11-1:21 | 25 | list12.lc 1:11-1:21 |
26 | [_d] | 26 | [_d] |
27 | testdata/language-features/basic-list/list12.lc 1:12-1:13 | 27 | list12.lc 1:12-1:13 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | testdata/language-features/basic-list/list12.lc 1:13-1:14 | 29 | list12.lc 1:13-1:14 |
30 | _b | 30 | _b |
31 | testdata/language-features/basic-list/list12.lc 1:13-1:15 | 31 | list12.lc 1:13-1:15 |
32 | [_b] -> [_b] | 32 | [_b] -> [_b] |
33 | testdata/language-features/basic-list/list12.lc 1:13-1:21 | 33 | list12.lc 1:13-1:21 |
34 | [_e] | 34 | [_e] |
35 | testdata/language-features/basic-list/list12.lc 1:14-1:15 | 35 | list12.lc 1:14-1:15 |
36 | forall a . a -> [a] -> [a] | 36 | forall a . a -> [a] -> [a] |
37 | testdata/language-features/basic-list/list12.lc 1:15-1:16 | 37 | list12.lc 1:15-1:16 |
38 | _b | 38 | _b |
39 | testdata/language-features/basic-list/list12.lc 1:15-1:17 | 39 | list12.lc 1:15-1:17 |
40 | [_b] -> [_b] | 40 | [_b] -> [_b] |
41 | testdata/language-features/basic-list/list12.lc 1:15-1:21 | 41 | list12.lc 1:15-1:21 |
42 | [_f] | 42 | [_f] |
43 | testdata/language-features/basic-list/list12.lc 1:16-1:17 | 43 | list12.lc 1:16-1:17 |
44 | forall a . a -> [a] -> [a] | 44 | forall a . a -> [a] -> [a] |
45 | testdata/language-features/basic-list/list12.lc 1:17-1:18 | 45 | list12.lc 1:17-1:18 |
46 | _b | 46 | _b |
47 | testdata/language-features/basic-list/list12.lc 1:17-1:19 | 47 | list12.lc 1:17-1:19 |
48 | [_b] -> [_b] | 48 | [_b] -> [_b] |
49 | testdata/language-features/basic-list/list12.lc 1:17-1:21 | 49 | list12.lc 1:17-1:21 |
50 | [_f] | 50 | [_f] |
51 | testdata/language-features/basic-list/list12.lc 1:18-1:19 | 51 | list12.lc 1:18-1:19 |
52 | forall a . a -> [a] -> [a] | 52 | forall a . a -> [a] -> [a] |
53 | testdata/language-features/basic-list/list12.lc 1:19-1:21 | 53 | list12.lc 1:19-1:21 |
54 | forall a . [a] \ No newline at end of file | 54 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list13.out b/testdata/language-features/basic-list/list13.out index c1c89f70..8002d692 100644 --- a/testdata/language-features/basic-list/list13.out +++ b/testdata/language-features/basic-list/list13.out | |||
@@ -5,47 +5,47 @@ value = _lhs value (_rhs ['h', 'e', 'l', 'l', 'o']) | |||
5 | value :: [Char] | 5 | value :: [Char] |
6 | value = _rhs ['h', 'e', 'l', 'l', 'o'] | 6 | value = _rhs ['h', 'e', 'l', 'l', 'o'] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-list/list13.lc 1:1-1:6 | 8 | list13.lc 1:1-1:6 |
9 | [Char] | 9 | [Char] |
10 | testdata/language-features/basic-list/list13.lc 1:9-1:12 | 10 | list13.lc 1:9-1:12 |
11 | Char | 11 | Char |
12 | testdata/language-features/basic-list/list13.lc 1:9-1:13 | 12 | list13.lc 1:9-1:13 |
13 | [Char] -> [Char] | 13 | [Char] -> [Char] |
14 | testdata/language-features/basic-list/list13.lc 1:9-1:31 | 14 | list13.lc 1:9-1:31 |
15 | [Char] | 15 | [Char] |
16 | testdata/language-features/basic-list/list13.lc 1:12-1:13 | 16 | list13.lc 1:12-1:13 |
17 | forall a . a -> [a] -> [a] | 17 | forall a . a -> [a] -> [a] |
18 | testdata/language-features/basic-list/list13.lc 1:13-1:16 | 18 | list13.lc 1:13-1:16 |
19 | Char | 19 | Char |
20 | testdata/language-features/basic-list/list13.lc 1:13-1:17 | 20 | list13.lc 1:13-1:17 |
21 | [Char] -> [Char] | 21 | [Char] -> [Char] |
22 | testdata/language-features/basic-list/list13.lc 1:13-1:31 | 22 | list13.lc 1:13-1:31 |
23 | [Char] | 23 | [Char] |
24 | testdata/language-features/basic-list/list13.lc 1:16-1:17 | 24 | list13.lc 1:16-1:17 |
25 | forall a . a -> [a] -> [a] | 25 | forall a . a -> [a] -> [a] |
26 | testdata/language-features/basic-list/list13.lc 1:17-1:20 | 26 | list13.lc 1:17-1:20 |
27 | Char | 27 | Char |
28 | testdata/language-features/basic-list/list13.lc 1:17-1:21 | 28 | list13.lc 1:17-1:21 |
29 | [Char] -> [Char] | 29 | [Char] -> [Char] |
30 | testdata/language-features/basic-list/list13.lc 1:17-1:31 | 30 | list13.lc 1:17-1:31 |
31 | [Char] | 31 | [Char] |
32 | testdata/language-features/basic-list/list13.lc 1:20-1:21 | 32 | list13.lc 1:20-1:21 |
33 | forall a . a -> [a] -> [a] | 33 | forall a . a -> [a] -> [a] |
34 | testdata/language-features/basic-list/list13.lc 1:21-1:24 | 34 | list13.lc 1:21-1:24 |
35 | Char | 35 | Char |
36 | testdata/language-features/basic-list/list13.lc 1:21-1:25 | 36 | list13.lc 1:21-1:25 |
37 | [Char] -> [Char] | 37 | [Char] -> [Char] |
38 | testdata/language-features/basic-list/list13.lc 1:21-1:31 | 38 | list13.lc 1:21-1:31 |
39 | [Char] | 39 | [Char] |
40 | testdata/language-features/basic-list/list13.lc 1:24-1:25 | 40 | list13.lc 1:24-1:25 |
41 | forall a . a -> [a] -> [a] | 41 | forall a . a -> [a] -> [a] |
42 | testdata/language-features/basic-list/list13.lc 1:25-1:28 | 42 | list13.lc 1:25-1:28 |
43 | Char | 43 | Char |
44 | testdata/language-features/basic-list/list13.lc 1:25-1:29 | 44 | list13.lc 1:25-1:29 |
45 | [Char] -> [Char] | 45 | [Char] -> [Char] |
46 | testdata/language-features/basic-list/list13.lc 1:25-1:31 | 46 | list13.lc 1:25-1:31 |
47 | [Char] | 47 | [Char] |
48 | testdata/language-features/basic-list/list13.lc 1:28-1:29 | 48 | list13.lc 1:28-1:29 |
49 | forall a . a -> [a] -> [a] | 49 | forall a . a -> [a] -> [a] |
50 | testdata/language-features/basic-list/list13.lc 1:29-1:31 | 50 | list13.lc 1:29-1:31 |
51 | forall a . [a] \ No newline at end of file | 51 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list14.reject.out b/testdata/language-features/basic-list/list14.reject.out index 5a644bb6..ba2e1a66 100644 --- a/testdata/language-features/basic-list/list14.reject.out +++ b/testdata/language-features/basic-list/list14.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | [Char] | 2 | [Char] |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 5 | in list14.reject.lc:1:17: |
6 | value = 'h':'i':() | 6 | value = 'h':'i':() |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,21 +10,21 @@ value = 'h':'i':() | |||
10 | [Char] | 10 | [Char] |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 13 | in list14.reject.lc:1:17: |
14 | value = 'h':'i':() | 14 | value = 'h':'i':() |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:12 | 17 | list14.reject.lc 1:9-1:12 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:13 | 19 | list14.reject.lc 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | testdata/language-features/basic-list/list14.reject.lc 1:12-1:13 | 21 | list14.reject.lc 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | testdata/language-features/basic-list/list14.reject.lc 1:13-1:16 | 23 | list14.reject.lc 1:13-1:16 |
24 | Char | 24 | Char |
25 | testdata/language-features/basic-list/list14.reject.lc 1:13-1:17 | 25 | list14.reject.lc 1:13-1:17 |
26 | [Char] -> [Char] | 26 | [Char] -> [Char] |
27 | testdata/language-features/basic-list/list14.reject.lc 1:16-1:17 | 27 | list14.reject.lc 1:16-1:17 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | testdata/language-features/basic-list/list14.reject.lc 1:17-1:19 | 29 | list14.reject.lc 1:17-1:19 |
30 | () \ No newline at end of file | 30 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list15.reject.out b/testdata/language-features/basic-list/list15.reject.out index 56999614..0e7d8fb0 100644 --- a/testdata/language-features/basic-list/list15.reject.out +++ b/testdata/language-features/basic-list/list15.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | Char | 2 | Char |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 5 | in list15.reject.lc:1:20: |
6 | value = 'h':'i':():[] | 6 | value = 'h':'i':():[] |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,25 +10,25 @@ value = 'h':'i':():[] | |||
10 | Char | 10 | Char |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 13 | in list15.reject.lc:1:20: |
14 | value = 'h':'i':():[] | 14 | value = 'h':'i':():[] |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:12 | 17 | list15.reject.lc 1:9-1:12 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:13 | 19 | list15.reject.lc 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | testdata/language-features/basic-list/list15.reject.lc 1:12-1:13 | 21 | list15.reject.lc 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | testdata/language-features/basic-list/list15.reject.lc 1:13-1:16 | 23 | list15.reject.lc 1:13-1:16 |
24 | Char | 24 | Char |
25 | testdata/language-features/basic-list/list15.reject.lc 1:13-1:17 | 25 | list15.reject.lc 1:13-1:17 |
26 | [Char] -> [Char] | 26 | [Char] -> [Char] |
27 | testdata/language-features/basic-list/list15.reject.lc 1:16-1:17 | 27 | list15.reject.lc 1:16-1:17 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | testdata/language-features/basic-list/list15.reject.lc 1:17-1:19 | 29 | list15.reject.lc 1:17-1:19 |
30 | () | 30 | () |
31 | testdata/language-features/basic-list/list15.reject.lc 1:17-1:20 | 31 | list15.reject.lc 1:17-1:20 |
32 | [()] -> [()] | 32 | [()] -> [()] |
33 | testdata/language-features/basic-list/list15.reject.lc 1:19-1:20 | 33 | list15.reject.lc 1:19-1:20 |
34 | forall a . a -> [a] -> [a] \ No newline at end of file | 34 | forall a . a -> [a] -> [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list16.reject.out b/testdata/language-features/basic-list/list16.reject.out index abb28bb5..fd2bb949 100644 --- a/testdata/language-features/basic-list/list16.reject.out +++ b/testdata/language-features/basic-list/list16.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | [Char] | 2 | [Char] |
3 | with | 3 | with |
4 | Char | 4 | Char |
5 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 5 | in list16.reject.lc:1:13: |
6 | value = 'h':'i' | 6 | value = 'h':'i' |
7 | ^^^ | 7 | ^^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,15 +10,15 @@ value = 'h':'i' | |||
10 | [Char] | 10 | [Char] |
11 | with | 11 | with |
12 | Char | 12 | Char |
13 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 13 | in list16.reject.lc:1:13: |
14 | value = 'h':'i' | 14 | value = 'h':'i' |
15 | ^^^ | 15 | ^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:12 | 17 | list16.reject.lc 1:9-1:12 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:13 | 19 | list16.reject.lc 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | testdata/language-features/basic-list/list16.reject.lc 1:12-1:13 | 21 | list16.reject.lc 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | testdata/language-features/basic-list/list16.reject.lc 1:13-1:16 | 23 | list16.reject.lc 1:13-1:16 |
24 | Char \ No newline at end of file | 24 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp01.out b/testdata/language-features/basic-list/listcomp01.out index 0c20b420..dc0c5204 100644 --- a/testdata/language-features/basic-list/listcomp01.out +++ b/testdata/language-features/basic-list/listcomp01.out | |||
@@ -5,23 +5,23 @@ value = _lhs value (_rhs (concatMap (\(_ :: _) -> [()]) [(), (), (), ()])) | |||
5 | value :: [()] | 5 | value :: [()] |
6 | value = _rhs (() : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()])) | 6 | value = _rhs (() : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()])) |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-list/listcomp01.lc 1:1-1:6 | 8 | listcomp01.lc 1:1-1:6 |
9 | [()] | 9 | [()] |
10 | testdata/language-features/basic-list/listcomp01.lc 1:9-1:34 | 10 | listcomp01.lc 1:9-1:34 |
11 | [()] | 11 | [()] |
12 | testdata/language-features/basic-list/listcomp01.lc 1:10-1:12 | 12 | listcomp01.lc 1:10-1:12 |
13 | () | [()] | 13 | () | [()] |
14 | testdata/language-features/basic-list/listcomp01.lc 1:20-1:33 | 14 | listcomp01.lc 1:20-1:33 |
15 | [()] | 15 | [()] |
16 | testdata/language-features/basic-list/listcomp01.lc 1:21-1:23 | 16 | listcomp01.lc 1:21-1:23 |
17 | () | 17 | () |
18 | testdata/language-features/basic-list/listcomp01.lc 1:24-1:26 | 18 | listcomp01.lc 1:24-1:26 |
19 | () | 19 | () |
20 | testdata/language-features/basic-list/listcomp01.lc 1:24-1:32 | 20 | listcomp01.lc 1:24-1:32 |
21 | [()] | 21 | [()] |
22 | testdata/language-features/basic-list/listcomp01.lc 1:27-1:29 | 22 | listcomp01.lc 1:27-1:29 |
23 | () | 23 | () |
24 | testdata/language-features/basic-list/listcomp01.lc 1:27-1:32 | 24 | listcomp01.lc 1:27-1:32 |
25 | [()] | 25 | [()] |
26 | testdata/language-features/basic-list/listcomp01.lc 1:30-1:32 | 26 | listcomp01.lc 1:30-1:32 |
27 | () | [()] \ No newline at end of file | 27 | () | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp02.out b/testdata/language-features/basic-list/listcomp02.out index 528fef4a..497f88c0 100644 --- a/testdata/language-features/basic-list/listcomp02.out +++ b/testdata/language-features/basic-list/listcomp02.out | |||
@@ -10,27 +10,27 @@ l = _rhs [(), (), (), ()] | |||
10 | value :: [()] | 10 | value :: [()] |
11 | value = _rhs (() : [] ++ foldr (++) [] (map (\a -> [a]) [(), (), ()])) | 11 | value = _rhs (() : [] ++ foldr (++) [] (map (\a -> [a]) [(), (), ()])) |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-list/listcomp02.lc 1:1-1:2 | 13 | listcomp02.lc 1:1-1:2 |
14 | [()] | 14 | [()] |
15 | testdata/language-features/basic-list/listcomp02.lc 1:5-1:18 | 15 | listcomp02.lc 1:5-1:18 |
16 | [()] | 16 | [()] |
17 | testdata/language-features/basic-list/listcomp02.lc 1:6-1:8 | 17 | listcomp02.lc 1:6-1:8 |
18 | () | 18 | () |
19 | testdata/language-features/basic-list/listcomp02.lc 1:9-1:11 | 19 | listcomp02.lc 1:9-1:11 |
20 | () | 20 | () |
21 | testdata/language-features/basic-list/listcomp02.lc 1:9-1:17 | 21 | listcomp02.lc 1:9-1:17 |
22 | [()] | 22 | [()] |
23 | testdata/language-features/basic-list/listcomp02.lc 1:12-1:14 | 23 | listcomp02.lc 1:12-1:14 |
24 | () | 24 | () |
25 | testdata/language-features/basic-list/listcomp02.lc 1:12-1:17 | 25 | listcomp02.lc 1:12-1:17 |
26 | [()] | 26 | [()] |
27 | testdata/language-features/basic-list/listcomp02.lc 1:15-1:17 | 27 | listcomp02.lc 1:15-1:17 |
28 | () | [()] | 28 | () | [()] |
29 | testdata/language-features/basic-list/listcomp02.lc 2:1-2:6 | 29 | listcomp02.lc 2:1-2:6 |
30 | [()] | 30 | [()] |
31 | testdata/language-features/basic-list/listcomp02.lc 2:9-2:21 | 31 | listcomp02.lc 2:9-2:21 |
32 | [()] | 32 | [()] |
33 | testdata/language-features/basic-list/listcomp02.lc 2:10-2:11 | 33 | listcomp02.lc 2:10-2:11 |
34 | _d | [_b] | 34 | _d | [_b] |
35 | testdata/language-features/basic-list/listcomp02.lc 2:19-2:20 | 35 | listcomp02.lc 2:19-2:20 |
36 | [()] \ No newline at end of file | 36 | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp03.out b/testdata/language-features/basic-list/listcomp03.out index 0ba6b347..85208fa3 100644 --- a/testdata/language-features/basic-list/listcomp03.out +++ b/testdata/language-features/basic-list/listcomp03.out | |||
@@ -8,27 +8,27 @@ value | |||
8 | value :: [()] | 8 | value :: [()] |
9 | value = _rhs [] | 9 | value = _rhs [] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | testdata/language-features/basic-list/listcomp03.lc 1:1-1:6 | 11 | listcomp03.lc 1:1-1:6 |
12 | [()] | 12 | [()] |
13 | testdata/language-features/basic-list/listcomp03.lc 1:9-1:41 | 13 | listcomp03.lc 1:9-1:41 |
14 | [()] | 14 | [()] |
15 | testdata/language-features/basic-list/listcomp03.lc 1:10-1:12 | 15 | listcomp03.lc 1:10-1:12 |
16 | () | [()] | 16 | () | [()] |
17 | testdata/language-features/basic-list/listcomp03.lc 1:10-1:40 | 17 | listcomp03.lc 1:10-1:40 |
18 | [()] -> [()] | [()] | 18 | [()] -> [()] | [()] |
19 | testdata/language-features/basic-list/listcomp03.lc 1:20-1:33 | 19 | listcomp03.lc 1:20-1:33 |
20 | [()] | 20 | [()] |
21 | testdata/language-features/basic-list/listcomp03.lc 1:21-1:23 | 21 | listcomp03.lc 1:21-1:23 |
22 | () | 22 | () |
23 | testdata/language-features/basic-list/listcomp03.lc 1:24-1:26 | 23 | listcomp03.lc 1:24-1:26 |
24 | () | 24 | () |
25 | testdata/language-features/basic-list/listcomp03.lc 1:24-1:32 | 25 | listcomp03.lc 1:24-1:32 |
26 | [()] | 26 | [()] |
27 | testdata/language-features/basic-list/listcomp03.lc 1:27-1:29 | 27 | listcomp03.lc 1:27-1:29 |
28 | () | 28 | () |
29 | testdata/language-features/basic-list/listcomp03.lc 1:27-1:32 | 29 | listcomp03.lc 1:27-1:32 |
30 | [()] | 30 | [()] |
31 | testdata/language-features/basic-list/listcomp03.lc 1:30-1:32 | 31 | listcomp03.lc 1:30-1:32 |
32 | () | [()] | 32 | () | [()] |
33 | testdata/language-features/basic-list/listcomp03.lc 1:35-1:40 | 33 | listcomp03.lc 1:35-1:40 |
34 | Bool \ No newline at end of file | 34 | Bool \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp04.out b/testdata/language-features/basic-list/listcomp04.out index dfd8bd3c..032fdd81 100644 --- a/testdata/language-features/basic-list/listcomp04.out +++ b/testdata/language-features/basic-list/listcomp04.out | |||
@@ -15,31 +15,31 @@ value | |||
15 | : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()]) | 15 | : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()]) |
16 | ++ foldr (++) [] (map (\_ -> concatMap ' () ' () (\_ -> [()]) l) [(), (), ()])) | 16 | ++ foldr (++) [] (map (\_ -> concatMap ' () ' () (\_ -> [()]) l) [(), (), ()])) |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-list/listcomp04.lc 1:1-1:2 | 18 | listcomp04.lc 1:1-1:2 |
19 | [()] | 19 | [()] |
20 | testdata/language-features/basic-list/listcomp04.lc 1:5-1:18 | 20 | listcomp04.lc 1:5-1:18 |
21 | [()] | 21 | [()] |
22 | testdata/language-features/basic-list/listcomp04.lc 1:6-1:8 | 22 | listcomp04.lc 1:6-1:8 |
23 | () | 23 | () |
24 | testdata/language-features/basic-list/listcomp04.lc 1:9-1:11 | 24 | listcomp04.lc 1:9-1:11 |
25 | () | 25 | () |
26 | testdata/language-features/basic-list/listcomp04.lc 1:9-1:17 | 26 | listcomp04.lc 1:9-1:17 |
27 | [()] | 27 | [()] |
28 | testdata/language-features/basic-list/listcomp04.lc 1:12-1:14 | 28 | listcomp04.lc 1:12-1:14 |
29 | () | 29 | () |
30 | testdata/language-features/basic-list/listcomp04.lc 1:12-1:17 | 30 | listcomp04.lc 1:12-1:17 |
31 | [()] | 31 | [()] |
32 | testdata/language-features/basic-list/listcomp04.lc 1:15-1:17 | 32 | listcomp04.lc 1:15-1:17 |
33 | () | [()] | 33 | () | [()] |
34 | testdata/language-features/basic-list/listcomp04.lc 2:1-2:6 | 34 | listcomp04.lc 2:1-2:6 |
35 | [()] | 35 | [()] |
36 | testdata/language-features/basic-list/listcomp04.lc 2:9-2:30 | 36 | listcomp04.lc 2:9-2:30 |
37 | [()] | 37 | [()] |
38 | testdata/language-features/basic-list/listcomp04.lc 2:10-2:12 | 38 | listcomp04.lc 2:10-2:12 |
39 | () | [()] | 39 | () | [()] |
40 | testdata/language-features/basic-list/listcomp04.lc 2:10-2:29 | 40 | listcomp04.lc 2:10-2:29 |
41 | [()] | 41 | [()] |
42 | testdata/language-features/basic-list/listcomp04.lc 2:20-2:21 | 42 | listcomp04.lc 2:20-2:21 |
43 | [()] | 43 | [()] |
44 | testdata/language-features/basic-list/listcomp04.lc 2:28-2:29 | 44 | listcomp04.lc 2:28-2:29 |
45 | [()] \ No newline at end of file | 45 | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp05.out b/testdata/language-features/basic-list/listcomp05.out index 46e18270..91c6cd09 100644 --- a/testdata/language-features/basic-list/listcomp05.out +++ b/testdata/language-features/basic-list/listcomp05.out | |||
@@ -13,19 +13,19 @@ value | |||
13 | value :: [()] | 13 | value :: [()] |
14 | value = _rhs (u : [] ++ foldr (++) [] (map (\_ -> [u]) [()])) | 14 | value = _rhs (u : [] ++ foldr (++) [] (map (\_ -> [u]) [()])) |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | testdata/language-features/basic-list/listcomp05.lc 1:1-1:6 | 16 | listcomp05.lc 1:1-1:6 |
17 | [()] | 17 | [()] |
18 | testdata/language-features/basic-list/listcomp05.lc 1:9-1:39 | 18 | listcomp05.lc 1:9-1:39 |
19 | [()] | 19 | [()] |
20 | testdata/language-features/basic-list/listcomp05.lc 1:10-1:11 | 20 | listcomp05.lc 1:10-1:11 |
21 | () | 21 | () |
22 | testdata/language-features/basic-list/listcomp05.lc 1:19-1:26 | 22 | listcomp05.lc 1:19-1:26 |
23 | [()] | 23 | [()] |
24 | testdata/language-features/basic-list/listcomp05.lc 1:20-1:22 | 24 | listcomp05.lc 1:20-1:22 |
25 | () | 25 | () |
26 | testdata/language-features/basic-list/listcomp05.lc 1:23-1:25 | 26 | listcomp05.lc 1:23-1:25 |
27 | () | [()] | 27 | () | [()] |
28 | testdata/language-features/basic-list/listcomp05.lc 1:32-1:33 | 28 | listcomp05.lc 1:32-1:33 |
29 | _b | () | 29 | _b | () |
30 | testdata/language-features/basic-list/listcomp05.lc 1:36-1:38 | 30 | listcomp05.lc 1:36-1:38 |
31 | () \ No newline at end of file | 31 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp06.out b/testdata/language-features/basic-list/listcomp06.out index b0e13efb..1b7db614 100644 --- a/testdata/language-features/basic-list/listcomp06.out +++ b/testdata/language-features/basic-list/listcomp06.out | |||
@@ -31,43 +31,43 @@ value2 | |||
31 | = _rhs | 31 | = _rhs |
32 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) | 32 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) |
33 | ------------ tooltips | 33 | ------------ tooltips |
34 | testdata/language-features/basic-list/listcomp06.lc 1:1-1:7 | 34 | listcomp06.lc 1:1-1:7 |
35 | [()] | 35 | [()] |
36 | testdata/language-features/basic-list/listcomp06.lc 1:10-1:46 | 36 | listcomp06.lc 1:10-1:46 |
37 | [()] | 37 | [()] |
38 | testdata/language-features/basic-list/listcomp06.lc 1:11-1:12 | 38 | listcomp06.lc 1:11-1:12 |
39 | () | [()] | 39 | () | [()] |
40 | testdata/language-features/basic-list/listcomp06.lc 1:11-1:45 | 40 | listcomp06.lc 1:11-1:45 |
41 | [()] -> [()] | 41 | [()] -> [()] |
42 | testdata/language-features/basic-list/listcomp06.lc 1:20-1:27 | 42 | listcomp06.lc 1:20-1:27 |
43 | [()] | 43 | [()] |
44 | testdata/language-features/basic-list/listcomp06.lc 1:21-1:23 | 44 | listcomp06.lc 1:21-1:23 |
45 | () | 45 | () |
46 | testdata/language-features/basic-list/listcomp06.lc 1:24-1:26 | 46 | listcomp06.lc 1:24-1:26 |
47 | () | [()] | 47 | () | [()] |
48 | testdata/language-features/basic-list/listcomp06.lc 1:33-1:34 | 48 | listcomp06.lc 1:33-1:34 |
49 | _b | () | 49 | _b | () |
50 | testdata/language-features/basic-list/listcomp06.lc 1:37-1:39 | 50 | listcomp06.lc 1:37-1:39 |
51 | () | 51 | () |
52 | testdata/language-features/basic-list/listcomp06.lc 1:41-1:45 | 52 | listcomp06.lc 1:41-1:45 |
53 | Bool | 53 | Bool |
54 | testdata/language-features/basic-list/listcomp06.lc 3:1-3:7 | 54 | listcomp06.lc 3:1-3:7 |
55 | [()] | 55 | [()] |
56 | testdata/language-features/basic-list/listcomp06.lc 3:10-3:46 | 56 | listcomp06.lc 3:10-3:46 |
57 | [()] | 57 | [()] |
58 | testdata/language-features/basic-list/listcomp06.lc 3:11-3:12 | 58 | listcomp06.lc 3:11-3:12 |
59 | () | 59 | () |
60 | testdata/language-features/basic-list/listcomp06.lc 3:11-3:45 | 60 | listcomp06.lc 3:11-3:45 |
61 | [()] | 61 | [()] |
62 | testdata/language-features/basic-list/listcomp06.lc 3:20-3:27 | 62 | listcomp06.lc 3:20-3:27 |
63 | [()] | 63 | [()] |
64 | testdata/language-features/basic-list/listcomp06.lc 3:21-3:23 | 64 | listcomp06.lc 3:21-3:23 |
65 | () | 65 | () |
66 | testdata/language-features/basic-list/listcomp06.lc 3:24-3:26 | 66 | listcomp06.lc 3:24-3:26 |
67 | () | [()] | 67 | () | [()] |
68 | testdata/language-features/basic-list/listcomp06.lc 3:29-3:33 | 68 | listcomp06.lc 3:29-3:33 |
69 | Bool | 69 | Bool |
70 | testdata/language-features/basic-list/listcomp06.lc 3:39-3:40 | 70 | listcomp06.lc 3:39-3:40 |
71 | _b | () | 71 | _b | () |
72 | testdata/language-features/basic-list/listcomp06.lc 3:43-3:45 | 72 | listcomp06.lc 3:43-3:45 |
73 | () \ No newline at end of file | 73 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp07.out b/testdata/language-features/basic-list/listcomp07.out index cbabbc48..70ba3962 100644 --- a/testdata/language-features/basic-list/listcomp07.out +++ b/testdata/language-features/basic-list/listcomp07.out | |||
@@ -54,69 +54,69 @@ value3 | |||
54 | = _rhs | 54 | = _rhs |
55 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) | 55 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) |
56 | ------------ tooltips | 56 | ------------ tooltips |
57 | testdata/language-features/basic-list/listcomp07.lc 1:1-1:7 | 57 | listcomp07.lc 1:1-1:7 |
58 | [()] | 58 | [()] |
59 | testdata/language-features/basic-list/listcomp07.lc 1:10-6:11 | 59 | listcomp07.lc 1:10-6:11 |
60 | [()] | 60 | [()] |
61 | testdata/language-features/basic-list/listcomp07.lc 1:12-1:13 | 61 | listcomp07.lc 1:12-1:13 |
62 | () | 62 | () |
63 | testdata/language-features/basic-list/listcomp07.lc 2:17-2:24 | 63 | listcomp07.lc 2:17-2:24 |
64 | [()] | 64 | [()] |
65 | testdata/language-features/basic-list/listcomp07.lc 2:18-2:20 | 65 | listcomp07.lc 2:18-2:20 |
66 | () | 66 | () |
67 | testdata/language-features/basic-list/listcomp07.lc 2:21-2:23 | 67 | listcomp07.lc 2:21-2:23 |
68 | () | [()] | 68 | () | [()] |
69 | testdata/language-features/basic-list/listcomp07.lc 3:16-3:17 | 69 | listcomp07.lc 3:16-3:17 |
70 | _b | () | 70 | _b | () |
71 | testdata/language-features/basic-list/listcomp07.lc 3:20-3:22 | 71 | listcomp07.lc 3:20-3:22 |
72 | () | 72 | () |
73 | testdata/language-features/basic-list/listcomp07.lc 4:12-4:16 | 73 | listcomp07.lc 4:12-4:16 |
74 | Bool | 74 | Bool |
75 | testdata/language-features/basic-list/listcomp07.lc 5:16-5:17 | 75 | listcomp07.lc 5:16-5:17 |
76 | _b | () | 76 | _b | () |
77 | testdata/language-features/basic-list/listcomp07.lc 5:20-5:21 | 77 | listcomp07.lc 5:20-5:21 |
78 | () | 78 | () |
79 | testdata/language-features/basic-list/listcomp07.lc 8:1-8:7 | 79 | listcomp07.lc 8:1-8:7 |
80 | [()] | 80 | [()] |
81 | testdata/language-features/basic-list/listcomp07.lc 8:10-12:11 | 81 | listcomp07.lc 8:10-12:11 |
82 | [()] | 82 | [()] |
83 | testdata/language-features/basic-list/listcomp07.lc 8:12-8:13 | 83 | listcomp07.lc 8:12-8:13 |
84 | () | 84 | () |
85 | testdata/language-features/basic-list/listcomp07.lc 8:21-8:28 | 85 | listcomp07.lc 8:21-8:28 |
86 | [()] | 86 | [()] |
87 | testdata/language-features/basic-list/listcomp07.lc 8:22-8:24 | 87 | listcomp07.lc 8:22-8:24 |
88 | () | 88 | () |
89 | testdata/language-features/basic-list/listcomp07.lc 8:25-8:27 | 89 | listcomp07.lc 8:25-8:27 |
90 | () | [()] | 90 | () | [()] |
91 | testdata/language-features/basic-list/listcomp07.lc 9:16-9:17 | 91 | listcomp07.lc 9:16-9:17 |
92 | _b | () | 92 | _b | () |
93 | testdata/language-features/basic-list/listcomp07.lc 9:20-9:22 | 93 | listcomp07.lc 9:20-9:22 |
94 | () | 94 | () |
95 | testdata/language-features/basic-list/listcomp07.lc 10:12-10:16 | 95 | listcomp07.lc 10:12-10:16 |
96 | Bool | 96 | Bool |
97 | testdata/language-features/basic-list/listcomp07.lc 11:16-11:17 | 97 | listcomp07.lc 11:16-11:17 |
98 | _b | () | 98 | _b | () |
99 | testdata/language-features/basic-list/listcomp07.lc 11:20-11:21 | 99 | listcomp07.lc 11:20-11:21 |
100 | () | 100 | () |
101 | testdata/language-features/basic-list/listcomp07.lc 14:1-14:7 | 101 | listcomp07.lc 14:1-14:7 |
102 | [()] | 102 | [()] |
103 | testdata/language-features/basic-list/listcomp07.lc 14:10-20:3 | 103 | listcomp07.lc 14:10-20:3 |
104 | [()] | 104 | [()] |
105 | testdata/language-features/basic-list/listcomp07.lc 14:12-14:13 | 105 | listcomp07.lc 14:12-14:13 |
106 | () | 106 | () |
107 | testdata/language-features/basic-list/listcomp07.lc 15:15-15:22 | 107 | listcomp07.lc 15:15-15:22 |
108 | [()] | 108 | [()] |
109 | testdata/language-features/basic-list/listcomp07.lc 15:16-15:18 | 109 | listcomp07.lc 15:16-15:18 |
110 | () | 110 | () |
111 | testdata/language-features/basic-list/listcomp07.lc 15:19-15:21 | 111 | listcomp07.lc 15:19-15:21 |
112 | () | [()] | 112 | () | [()] |
113 | testdata/language-features/basic-list/listcomp07.lc 17:2-17:3 | 113 | listcomp07.lc 17:2-17:3 |
114 | _b | () | 114 | _b | () |
115 | testdata/language-features/basic-list/listcomp07.lc 17:6-17:8 | 115 | listcomp07.lc 17:6-17:8 |
116 | () | 116 | () |
117 | testdata/language-features/basic-list/listcomp07.lc 18:7-18:11 | 117 | listcomp07.lc 18:7-18:11 |
118 | Bool | 118 | Bool |
119 | testdata/language-features/basic-list/listcomp07.lc 19:10-19:11 | 119 | listcomp07.lc 19:10-19:11 |
120 | _b | () | 120 | _b | () |
121 | testdata/language-features/basic-list/listcomp07.lc 19:14-19:15 | 121 | listcomp07.lc 19:14-19:15 |
122 | () \ No newline at end of file | 122 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out index d57a754b..8aa2bb7c 100644 --- a/testdata/language-features/basic-list/listcomp08.reject.out +++ b/testdata/language-features/basic-list/listcomp08.reject.out | |||
@@ -1,22 +1,22 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 2 | 'Internals.lc:63:6: |
3 | data Bool = False | True | 3 | data Bool = False | True |
4 | ^^^^ | 4 | ^^^^ |
5 | with | 5 | with |
6 | String | 6 | String |
7 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 7 | in listcomp08.reject.lc:1:23: |
8 | value = [x | x <- [], "not Bool"] | 8 | value = [x | x <- [], "not Bool"] |
9 | ^^^^^^^^^^ | 9 | ^^^^^^^^^^ |
10 | ------------ trace | 10 | ------------ trace |
11 | !type error: can not unify | 11 | !type error: can not unify |
12 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 12 | 'Internals.lc:63:6: |
13 | data Bool = False | True | 13 | data Bool = False | True |
14 | ^^^^ | 14 | ^^^^ |
15 | with | 15 | with |
16 | String | 16 | String |
17 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 17 | in listcomp08.reject.lc:1:23: |
18 | value = [x | x <- [], "not Bool"] | 18 | value = [x | x <- [], "not Bool"] |
19 | ^^^^^^^^^^ | 19 | ^^^^^^^^^^ |
20 | ------------ tooltips | 20 | ------------ tooltips |
21 | testdata/language-features/basic-list/listcomp08.reject.lc 1:23-1:33 | 21 | listcomp08.reject.lc 1:23-1:33 |
22 | String \ No newline at end of file | 22 | String \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp09.out b/testdata/language-features/basic-list/listcomp09.out index 6c1c9d6d..1c81c25f 100644 --- a/testdata/language-features/basic-list/listcomp09.out +++ b/testdata/language-features/basic-list/listcomp09.out | |||
@@ -8,13 +8,13 @@ value1 | |||
8 | value1 :: @Type -> [() -> String] | 8 | value1 :: @Type -> [() -> String] |
9 | value1 = \_ -> _rhs [] | 9 | value1 = \_ -> _rhs [] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | testdata/language-features/basic-list/listcomp09.lc 1:1-1:7 | 11 | listcomp09.lc 1:1-1:7 |
12 | @Type -> [() -> String] | 12 | @Type -> [() -> String] |
13 | testdata/language-features/basic-list/listcomp09.lc 1:10-1:36 | 13 | listcomp09.lc 1:10-1:36 |
14 | [() -> String] | 14 | [() -> String] |
15 | testdata/language-features/basic-list/listcomp09.lc 1:11-1:25 | 15 | listcomp09.lc 1:11-1:25 |
16 | [() -> String] | 16 | [() -> String] |
17 | testdata/language-features/basic-list/listcomp09.lc 1:18-1:25 | 17 | listcomp09.lc 1:18-1:25 |
18 | String | 18 | String |
19 | testdata/language-features/basic-list/listcomp09.lc 1:33-1:35 | 19 | listcomp09.lc 1:33-1:35 |
20 | forall a . [a] \ No newline at end of file | 20 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/bool01.out b/testdata/language-features/basic-values/bool01.out index 5d0f35af..2ff3bc18 100644 --- a/testdata/language-features/basic-values/bool01.out +++ b/testdata/language-features/basic-values/bool01.out | |||
@@ -10,11 +10,11 @@ value1 = _rhs True | |||
10 | value2 :: Bool | 10 | value2 :: Bool |
11 | value2 = _rhs False | 11 | value2 = _rhs False |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/bool01.lc 1:1-1:7 | 13 | bool01.lc 1:1-1:7 |
14 | Bool | 14 | Bool |
15 | testdata/language-features/basic-values/bool01.lc 1:10-1:14 | 15 | bool01.lc 1:10-1:14 |
16 | Bool | 16 | Bool |
17 | testdata/language-features/basic-values/bool01.lc 2:1-2:7 | 17 | bool01.lc 2:1-2:7 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/basic-values/bool01.lc 2:10-2:15 | 19 | bool01.lc 2:10-2:15 |
20 | Bool \ No newline at end of file | 20 | Bool \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/case01.out b/testdata/language-features/basic-values/case01.out index eff9fb43..f807abb9 100644 --- a/testdata/language-features/basic-values/case01.out +++ b/testdata/language-features/basic-values/case01.out | |||
@@ -30,51 +30,51 @@ value5 = _rhs () | |||
30 | value6 :: () | 30 | value6 :: () |
31 | value6 = _rhs () | 31 | value6 = _rhs () |
32 | ------------ tooltips | 32 | ------------ tooltips |
33 | testdata/language-features/basic-values/case01.lc 1:1-1:7 | 33 | case01.lc 1:1-1:7 |
34 | () | 34 | () |
35 | testdata/language-features/basic-values/case01.lc 1:10-1:29 | 35 | case01.lc 1:10-1:29 |
36 | () | 36 | () |
37 | testdata/language-features/basic-values/case01.lc 1:15-1:17 | 37 | case01.lc 1:15-1:17 |
38 | () | 38 | () |
39 | testdata/language-features/basic-values/case01.lc 1:27-1:29 | 39 | case01.lc 1:27-1:29 |
40 | () | 40 | () |
41 | testdata/language-features/basic-values/case01.lc 3:1-3:7 | 41 | case01.lc 3:1-3:7 |
42 | () | 42 | () |
43 | testdata/language-features/basic-values/case01.lc 3:10-4:11 | 43 | case01.lc 3:10-4:11 |
44 | () | 44 | () |
45 | testdata/language-features/basic-values/case01.lc 3:15-3:17 | 45 | case01.lc 3:15-3:17 |
46 | () | 46 | () |
47 | testdata/language-features/basic-values/case01.lc 4:9-4:11 | 47 | case01.lc 4:9-4:11 |
48 | () | 48 | () |
49 | testdata/language-features/basic-values/case01.lc 6:1-6:7 | 49 | case01.lc 6:1-6:7 |
50 | () | 50 | () |
51 | testdata/language-features/basic-values/case01.lc 7:3-8:13 | 51 | case01.lc 7:3-8:13 |
52 | () | 52 | () |
53 | testdata/language-features/basic-values/case01.lc 7:8-7:10 | 53 | case01.lc 7:8-7:10 |
54 | () | 54 | () |
55 | testdata/language-features/basic-values/case01.lc 8:11-8:13 | 55 | case01.lc 8:11-8:13 |
56 | () | 56 | () |
57 | testdata/language-features/basic-values/case01.lc 10:1-10:7 | 57 | case01.lc 10:1-10:7 |
58 | () | 58 | () |
59 | testdata/language-features/basic-values/case01.lc 11:3-13:9 | 59 | case01.lc 11:3-13:9 |
60 | () | 60 | () |
61 | testdata/language-features/basic-values/case01.lc 11:8-11:10 | 61 | case01.lc 11:8-11:10 |
62 | () | 62 | () |
63 | testdata/language-features/basic-values/case01.lc 13:7-13:9 | 63 | case01.lc 13:7-13:9 |
64 | () | 64 | () |
65 | testdata/language-features/basic-values/case01.lc 15:1-15:7 | 65 | case01.lc 15:1-15:7 |
66 | () | 66 | () |
67 | testdata/language-features/basic-values/case01.lc 16:3-19:11 | 67 | case01.lc 16:3-19:11 |
68 | () | 68 | () |
69 | testdata/language-features/basic-values/case01.lc 16:8-16:10 | 69 | case01.lc 16:8-16:10 |
70 | () | 70 | () |
71 | testdata/language-features/basic-values/case01.lc 19:9-19:11 | 71 | case01.lc 19:9-19:11 |
72 | () | 72 | () |
73 | testdata/language-features/basic-values/case01.lc 21:1-21:7 | 73 | case01.lc 21:1-21:7 |
74 | () | 74 | () |
75 | testdata/language-features/basic-values/case01.lc 22:3-23:12 | 75 | case01.lc 22:3-23:12 |
76 | () | 76 | () |
77 | testdata/language-features/basic-values/case01.lc 22:8-22:10 | 77 | case01.lc 22:8-22:10 |
78 | () | 78 | () |
79 | testdata/language-features/basic-values/case01.lc 23:10-23:12 | 79 | case01.lc 23:10-23:12 |
80 | () \ No newline at end of file | 80 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/case02.out b/testdata/language-features/basic-values/case02.out index f445f91a..b0a99d85 100644 --- a/testdata/language-features/basic-values/case02.out +++ b/testdata/language-features/basic-values/case02.out | |||
@@ -31,31 +31,31 @@ value2 | |||
31 | "1" | 31 | "1" |
32 | ((a == d) (fromInt a e 1) (fromInt a e 2))) | 32 | ((a == d) (fromInt a e 1) (fromInt a e 2))) |
33 | ------------ tooltips | 33 | ------------ tooltips |
34 | testdata/language-features/basic-values/case02.lc 1:1-1:7 | 34 | case02.lc 1:1-1:7 |
35 | forall a . (Eq a, Num a) => () | 35 | forall a . (Eq a, Num a) => () |
36 | testdata/language-features/basic-values/case02.lc 1:10-3:10 | 36 | case02.lc 1:10-3:10 |
37 | () | 37 | () |
38 | testdata/language-features/basic-values/case02.lc 1:15-1:16 | 38 | case02.lc 1:15-1:16 |
39 | _b | 39 | _b |
40 | testdata/language-features/basic-values/case02.lc 2:8-2:10 | 40 | case02.lc 2:8-2:10 |
41 | () | 41 | () |
42 | testdata/language-features/basic-values/case02.lc 2:8-3:10 | 42 | case02.lc 2:8-3:10 |
43 | Bool -> () | 43 | Bool -> () |
44 | testdata/language-features/basic-values/case02.lc 3:8-3:10 | 44 | case02.lc 3:8-3:10 |
45 | () | 45 | () |
46 | testdata/language-features/basic-values/case02.lc 5:1-5:7 | 46 | case02.lc 5:1-5:7 |
47 | forall a . (Eq a, Num a, Eq a, Num a) => String | 47 | forall a . (Eq a, Num a, Eq a, Num a) => String |
48 | testdata/language-features/basic-values/case02.lc 5:10-8:11 | 48 | case02.lc 5:10-8:11 |
49 | String | 49 | String |
50 | testdata/language-features/basic-values/case02.lc 5:15-5:16 | 50 | case02.lc 5:15-5:16 |
51 | _b | 51 | _b |
52 | testdata/language-features/basic-values/case02.lc 6:8-6:11 | 52 | case02.lc 6:8-6:11 |
53 | String | 53 | String |
54 | testdata/language-features/basic-values/case02.lc 6:8-8:11 | 54 | case02.lc 6:8-8:11 |
55 | Bool -> String | 55 | Bool -> String |
56 | testdata/language-features/basic-values/case02.lc 7:8-7:11 | 56 | case02.lc 7:8-7:11 |
57 | String | 57 | String |
58 | testdata/language-features/basic-values/case02.lc 7:8-8:11 | 58 | case02.lc 7:8-8:11 |
59 | Bool -> String | String | 59 | Bool -> String | String |
60 | testdata/language-features/basic-values/case02.lc 8:8-8:11 | 60 | case02.lc 8:8-8:11 |
61 | String \ No newline at end of file | 61 | String \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/case03.reject.out b/testdata/language-features/basic-values/case03.reject.out index 6b272e26..64c21552 100644 --- a/testdata/language-features/basic-values/case03.reject.out +++ b/testdata/language-features/basic-values/case03.reject.out | |||
@@ -1,22 +1,22 @@ | |||
1 | type error: no instance of 'Num on ??? | 1 | type error: no instance of 'Num on ??? |
2 | in testdata/language-features/basic-values/case03.reject.lc:1:10: | 2 | in case03.reject.lc:1:10: |
3 | value1 = case () of | 3 | value1 = case () of |
4 | 1 -> () | 4 | 1 -> () |
5 | _ -> () | 5 | _ -> () |
6 | ------------ trace | 6 | ------------ trace |
7 | !type error: no instance of 'Num on ??? | 7 | !type error: no instance of 'Num on ??? |
8 | in testdata/language-features/basic-values/case03.reject.lc:1:10: | 8 | in case03.reject.lc:1:10: |
9 | value1 = case () of | 9 | value1 = case () of |
10 | 1 -> () | 10 | 1 -> () |
11 | _ -> () | 11 | _ -> () |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/case03.reject.lc 1:10-3:10 | 13 | case03.reject.lc 1:10-3:10 |
14 | () | 14 | () |
15 | testdata/language-features/basic-values/case03.reject.lc 1:15-1:17 | 15 | case03.reject.lc 1:15-1:17 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/case03.reject.lc 2:8-2:10 | 17 | case03.reject.lc 2:8-2:10 |
18 | () | 18 | () |
19 | testdata/language-features/basic-values/case03.reject.lc 2:8-3:10 | 19 | case03.reject.lc 2:8-3:10 |
20 | Bool -> () | 20 | Bool -> () |
21 | testdata/language-features/basic-values/case03.reject.lc 3:8-3:10 | 21 | case03.reject.lc 3:8-3:10 |
22 | () \ No newline at end of file | 22 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/case04.reject.out b/testdata/language-features/basic-values/case04.reject.out index aa395eab..1eb0690b 100644 --- a/testdata/language-features/basic-values/case04.reject.out +++ b/testdata/language-features/basic-values/case04.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | () | 2 | () |
3 | with | 3 | with |
4 | Char | 4 | Char |
5 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 5 | in case04.reject.lc:2:8: |
6 | 1 -> '1' | 6 | 1 -> '1' |
7 | ^^^ | 7 | ^^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,11 +10,11 @@ in testdata/language-features/basic-values/case04.reject.lc:2:8: | |||
10 | () | 10 | () |
11 | with | 11 | with |
12 | Char | 12 | Char |
13 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 13 | in case04.reject.lc:2:8: |
14 | 1 -> '1' | 14 | 1 -> '1' |
15 | ^^^ | 15 | ^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-values/case04.reject.lc 2:8-2:11 | 17 | case04.reject.lc 2:8-2:11 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-values/case04.reject.lc 3:8-3:10 | 19 | case04.reject.lc 3:8-3:10 |
20 | () \ No newline at end of file | 20 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/case05.out b/testdata/language-features/basic-values/case05.out index 130dd7d3..d6494cf2 100644 --- a/testdata/language-features/basic-values/case05.out +++ b/testdata/language-features/basic-values/case05.out | |||
@@ -11,16 +11,16 @@ value | |||
11 | = \a b c d -> _rhs | 11 | = \a b c d -> _rhs |
12 | (case'Bool (\_ -> 'Char) (undefined 'Char) '1' ((a == b) (fromInt a c 1) d)) | 12 | (case'Bool (\_ -> 'Char) (undefined 'Char) '1' ((a == b) (fromInt a c 1) d)) |
13 | ------------ tooltips | 13 | ------------ tooltips |
14 | testdata/language-features/basic-values/case05.lc 1:1-1:6 | 14 | case05.lc 1:1-1:6 |
15 | forall a . (Eq a, Num a) => a -> Char | 15 | forall a . (Eq a, Num a) => a -> Char |
16 | testdata/language-features/basic-values/case05.lc 1:11-2:11 | 16 | case05.lc 1:11-2:11 |
17 | Char | 17 | Char |
18 | testdata/language-features/basic-values/case05.lc 1:16-1:17 | 18 | case05.lc 1:16-1:17 |
19 | _e | 19 | _e |
20 | testdata/language-features/basic-values/case05.lc 2:8-2:11 | 20 | case05.lc 2:8-2:11 |
21 | Char | 21 | Char |
22 | ------------ warnings | 22 | ------------ warnings |
23 | Uncovered pattern(s) at testdata/language-features/basic-values/case05.lc:1:16: | 23 | Uncovered pattern(s) at case05.lc:1:16: |
24 | value x = case x of | 24 | value x = case x of |
25 | ^ | 25 | ^ |
26 | Missing case(s): | 26 | Missing case(s): |
diff --git a/testdata/language-features/basic-values/case06.out b/testdata/language-features/basic-values/case06.out index 9b4ff748..c69a1cbb 100644 --- a/testdata/language-features/basic-values/case06.out +++ b/testdata/language-features/basic-values/case06.out | |||
@@ -11,15 +11,15 @@ value | |||
11 | = \a b c d -> _rhs | 11 | = \a b c d -> _rhs |
12 | (case'Bool (\_ -> 'Char) '_' '1' ((a == b) (fromInt a c 1) d)) | 12 | (case'Bool (\_ -> 'Char) '_' '1' ((a == b) (fromInt a c 1) d)) |
13 | ------------ tooltips | 13 | ------------ tooltips |
14 | testdata/language-features/basic-values/case06.lc 1:1-1:6 | 14 | case06.lc 1:1-1:6 |
15 | forall a . (Eq a, Num a) => a -> Char | 15 | forall a . (Eq a, Num a) => a -> Char |
16 | testdata/language-features/basic-values/case06.lc 1:11-3:11 | 16 | case06.lc 1:11-3:11 |
17 | Char | 17 | Char |
18 | testdata/language-features/basic-values/case06.lc 1:16-1:17 | 18 | case06.lc 1:16-1:17 |
19 | _e | 19 | _e |
20 | testdata/language-features/basic-values/case06.lc 2:8-2:11 | 20 | case06.lc 2:8-2:11 |
21 | Char | 21 | Char |
22 | testdata/language-features/basic-values/case06.lc 2:8-3:11 | 22 | case06.lc 2:8-3:11 |
23 | Bool -> Char | 23 | Bool -> Char |
24 | testdata/language-features/basic-values/case06.lc 3:8-3:11 | 24 | case06.lc 3:8-3:11 |
25 | Char \ No newline at end of file | 25 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/data01.out b/testdata/language-features/basic-values/data01.out index 0bad6ca1..026fc8ac 100644 --- a/testdata/language-features/basic-values/data01.out +++ b/testdata/language-features/basic-values/data01.out | |||
@@ -74,37 +74,37 @@ match'D1 = \a b c d -> <<type case function>> | |||
74 | match'E :: forall (a :: Type -> Type) -> a E -> forall b -> a b -> a b | 74 | match'E :: forall (a :: Type -> Type) -> a E -> forall b -> a b -> a b |
75 | match'E = \a b c d -> <<type case function>> | 75 | match'E = \a b c d -> <<type case function>> |
76 | ------------ tooltips | 76 | ------------ tooltips |
77 | testdata/language-features/basic-values/data01.lc 1:6-1:7 | 77 | data01.lc 1:6-1:7 |
78 | Type | Type | Type | Type | Type | Type | Type | 78 | Type | Type | Type | Type | Type | Type | Type |
79 | testdata/language-features/basic-values/data01.lc 1:6-1:13 | 79 | data01.lc 1:6-1:13 |
80 | Type | Type | Type | 80 | Type | Type | Type |
81 | testdata/language-features/basic-values/data01.lc 1:8-1:9 | 81 | data01.lc 1:8-1:9 |
82 | A | 82 | A |
83 | testdata/language-features/basic-values/data01.lc 1:10-1:11 | 83 | data01.lc 1:10-1:11 |
84 | A | 84 | A |
85 | testdata/language-features/basic-values/data01.lc 1:12-1:13 | 85 | data01.lc 1:12-1:13 |
86 | A | 86 | A |
87 | testdata/language-features/basic-values/data01.lc 3:6-3:7 | 87 | data01.lc 3:6-3:7 |
88 | Type | Type | Type | Type | Type | Type | Type | Type | 88 | Type | Type | Type | Type | Type | Type | Type | Type |
89 | testdata/language-features/basic-values/data01.lc 3:6-3:22 | 89 | data01.lc 3:6-3:22 |
90 | Type | Type | Type | 90 | Type | Type | Type |
91 | testdata/language-features/basic-values/data01.lc 3:10-3:11 | 91 | data01.lc 3:10-3:11 |
92 | E | 92 | E |
93 | testdata/language-features/basic-values/data01.lc 3:14-3:15 | 93 | data01.lc 3:14-3:15 |
94 | () -> E | E | Type | Type | 94 | () -> E | E | Type | Type |
95 | testdata/language-features/basic-values/data01.lc 3:16-3:18 | 95 | data01.lc 3:16-3:18 |
96 | Type | 96 | Type |
97 | testdata/language-features/basic-values/data01.lc 3:21-3:22 | 97 | data01.lc 3:21-3:22 |
98 | E | 98 | E |
99 | testdata/language-features/basic-values/data01.lc 5:6-5:8 | 99 | data01.lc 5:6-5:8 |
100 | Type | Type | Type | Type | Type | Type | Type | Type | 100 | Type | Type | Type | Type | Type | Type | Type | Type |
101 | testdata/language-features/basic-values/data01.lc 5:6-6:13 | 101 | data01.lc 5:6-6:13 |
102 | Type | Type | Type | 102 | Type | Type | Type |
103 | testdata/language-features/basic-values/data01.lc 5:9-5:11 | 103 | data01.lc 5:9-5:11 |
104 | D1 | 104 | D1 |
105 | testdata/language-features/basic-values/data01.lc 6:5-6:7 | 105 | data01.lc 6:5-6:7 |
106 | () -> D1 | D1 | Type | Type | 106 | () -> D1 | D1 | Type | Type |
107 | testdata/language-features/basic-values/data01.lc 6:7-6:9 | 107 | data01.lc 6:7-6:9 |
108 | Type | 108 | Type |
109 | testdata/language-features/basic-values/data01.lc 6:11-6:13 | 109 | data01.lc 6:11-6:13 |
110 | D1 \ No newline at end of file | 110 | D1 \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def01.out b/testdata/language-features/basic-values/def01.out index eba795a8..77eb7749 100644 --- a/testdata/language-features/basic-values/def01.out +++ b/testdata/language-features/basic-values/def01.out | |||
@@ -15,15 +15,15 @@ fun2 = \a b c d e _ _ _ _ _ -> _rhs 'c' | |||
15 | unit :: () | 15 | unit :: () |
16 | unit = _rhs () | 16 | unit = _rhs () |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/def01.lc 1:1-1:5 | 18 | def01.lc 1:1-1:5 |
19 | () | 19 | () |
20 | testdata/language-features/basic-values/def01.lc 1:8-1:10 | 20 | def01.lc 1:8-1:10 |
21 | () | 21 | () |
22 | testdata/language-features/basic-values/def01.lc 3:1-3:5 | 22 | def01.lc 3:1-3:5 |
23 | forall a b . Num b => a -> b | 23 | forall a b . Num b => a -> b |
24 | testdata/language-features/basic-values/def01.lc 3:10-3:11 | 24 | def01.lc 3:10-3:11 |
25 | _b | 25 | _b |
26 | testdata/language-features/basic-values/def01.lc 5:1-5:5 | 26 | def01.lc 5:1-5:5 |
27 | forall a b c d e . a -> b -> c -> d -> e -> Char | 27 | forall a b c d e . a -> b -> c -> d -> e -> Char |
28 | testdata/language-features/basic-values/def01.lc 5:18-5:21 | 28 | def01.lc 5:18-5:21 |
29 | Char \ No newline at end of file | 29 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def02.reject.out b/testdata/language-features/basic-values/def02.reject.out index eca7cb70..ebe02235 100644 --- a/testdata/language-features/basic-values/def02.reject.out +++ b/testdata/language-features/basic-values/def02.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | multiple pattern vars: | 1 | multiple pattern vars: |
2 | x is defined at | 2 | x is defined at |
3 | testdata/language-features/basic-values/def02.reject.lc:1:6: | 3 | def02.reject.lc:1:6: |
4 | fun1 x x = 'c' | 4 | fun1 x x = 'c' |
5 | ^ | 5 | ^ |
6 | testdata/language-features/basic-values/def02.reject.lc:1:8: | 6 | def02.reject.lc:1:8: |
7 | fun1 x x = 'c' | 7 | fun1 x x = 'c' |
8 | ^ | 8 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def03.out b/testdata/language-features/basic-values/def03.out index a90c1488..8b6f38a7 100644 --- a/testdata/language-features/basic-values/def03.out +++ b/testdata/language-features/basic-values/def03.out | |||
@@ -21,16 +21,16 @@ fun | |||
21 | (_rhs '1') | 21 | (_rhs '1') |
22 | ((a == d) (fromInt a e 1) f) | 22 | ((a == d) (fromInt a e 1) f) |
23 | ------------ tooltips | 23 | ------------ tooltips |
24 | testdata/language-features/basic-values/def03.lc 1:1-1:4 | 24 | def03.lc 1:1-1:4 |
25 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char | 25 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char |
26 | testdata/language-features/basic-values/def03.lc 1:9-1:12 | 26 | def03.lc 1:9-1:12 |
27 | Char | 27 | Char |
28 | testdata/language-features/basic-values/def03.lc 1:9-2:12 | 28 | def03.lc 1:9-2:12 |
29 | Bool -> Char | 29 | Bool -> Char |
30 | testdata/language-features/basic-values/def03.lc 2:9-2:12 | 30 | def03.lc 2:9-2:12 |
31 | Char | Char | 31 | Char | Char |
32 | ------------ warnings | 32 | ------------ warnings |
33 | Uncovered pattern(s) at testdata/language-features/basic-values/def03.lc:1:1: | 33 | Uncovered pattern(s) at def03.lc:1:1: |
34 | fun 1 = '1' | 34 | fun 1 = '1' |
35 | fun 2 = '2' | 35 | fun 2 = '2' |
36 | Missing case(s): | 36 | Missing case(s): |
diff --git a/testdata/language-features/basic-values/def04.out b/testdata/language-features/basic-values/def04.out index d4fbfa4e..08854519 100644 --- a/testdata/language-features/basic-values/def04.out +++ b/testdata/language-features/basic-values/def04.out | |||
@@ -34,27 +34,27 @@ fun2 | |||
34 | (_rhs '1') | 34 | (_rhs '1') |
35 | ((a == e) (fromInt a f 1) g) | 35 | ((a == e) (fromInt a f 1) g) |
36 | ------------ tooltips | 36 | ------------ tooltips |
37 | testdata/language-features/basic-values/def04.lc 1:1-1:4 | 37 | def04.lc 1:1-1:4 |
38 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char | 38 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char |
39 | testdata/language-features/basic-values/def04.lc 1:9-1:12 | 39 | def04.lc 1:9-1:12 |
40 | Char | 40 | Char |
41 | testdata/language-features/basic-values/def04.lc 1:9-3:12 | 41 | def04.lc 1:9-3:12 |
42 | Bool -> Char | 42 | Bool -> Char |
43 | testdata/language-features/basic-values/def04.lc 2:9-2:12 | 43 | def04.lc 2:9-2:12 |
44 | Char | 44 | Char |
45 | testdata/language-features/basic-values/def04.lc 2:9-3:12 | 45 | def04.lc 2:9-3:12 |
46 | Bool -> Char | Char | 46 | Bool -> Char | Char |
47 | testdata/language-features/basic-values/def04.lc 3:9-3:12 | 47 | def04.lc 3:9-3:12 |
48 | Char | 48 | Char |
49 | testdata/language-features/basic-values/def04.lc 5:1-5:5 | 49 | def04.lc 5:1-5:5 |
50 | forall a b . (Eq a, Num a, Eq a, Num a) => a -> b -> Char | 50 | forall a b . (Eq a, Num a, Eq a, Num a) => a -> b -> Char |
51 | testdata/language-features/basic-values/def04.lc 5:12-5:15 | 51 | def04.lc 5:12-5:15 |
52 | Char | 52 | Char |
53 | testdata/language-features/basic-values/def04.lc 5:12-7:15 | 53 | def04.lc 5:12-7:15 |
54 | Bool -> Char | 54 | Bool -> Char |
55 | testdata/language-features/basic-values/def04.lc 6:12-6:15 | 55 | def04.lc 6:12-6:15 |
56 | Char | 56 | Char |
57 | testdata/language-features/basic-values/def04.lc 6:12-7:15 | 57 | def04.lc 6:12-7:15 |
58 | Bool -> Char | Char | 58 | Bool -> Char | Char |
59 | testdata/language-features/basic-values/def04.lc 7:12-7:15 | 59 | def04.lc 7:12-7:15 |
60 | Char \ No newline at end of file | 60 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def05.reject.out b/testdata/language-features/basic-values/def05.reject.out index edd16b87..2add70ca 100644 --- a/testdata/language-features/basic-values/def05.reject.out +++ b/testdata/language-features/basic-values/def05.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | testdata/language-features/basic-values/def05.reject.lc:4:1: | 1 | testdata/language-features/basic-values/def05.reject.lc:4:1: |
2 | different number of arguments of fun: | 2 | different number of arguments of fun: |
3 | testdata/language-features/basic-values/def05.reject.lc:1:1: | 3 | def05.reject.lc:1:1: |
4 | fun 1 = '1' | 4 | fun 1 = '1' |
5 | ^^^ | 5 | ^^^ |
6 | testdata/language-features/basic-values/def05.reject.lc:3:1: | 6 | def05.reject.lc:3:1: |
7 | fun = '_' | 7 | fun = '_' |
8 | ^^^ | 8 | ^^^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def06.reject.out b/testdata/language-features/basic-values/def06.reject.out index cf116b52..1d0402dc 100644 --- a/testdata/language-features/basic-values/def06.reject.out +++ b/testdata/language-features/basic-values/def06.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | testdata/language-features/basic-values/def06.reject.lc:5:1: | 1 | testdata/language-features/basic-values/def06.reject.lc:5:1: |
2 | different number of arguments of fun2: | 2 | different number of arguments of fun2: |
3 | testdata/language-features/basic-values/def06.reject.lc:1:1: | 3 | def06.reject.lc:1:1: |
4 | fun2 1 _ = '1' | 4 | fun2 1 _ = '1' |
5 | ^^^^ | 5 | ^^^^ |
6 | testdata/language-features/basic-values/def06.reject.lc:3:1: | 6 | def06.reject.lc:3:1: |
7 | fun2 _ = '_' | 7 | fun2 _ = '_' |
8 | ^^^^ | 8 | ^^^^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/def07.reject.out b/testdata/language-features/basic-values/def07.reject.out index 663b586e..59c56627 100644 --- a/testdata/language-features/basic-values/def07.reject.out +++ b/testdata/language-features/basic-values/def07.reject.out | |||
@@ -1,43 +1,43 @@ | |||
1 | already defined fun at testdata/language-features/basic-values/def07.reject.lc:4:1: | 1 | already defined fun at def07.reject.lc:4:1: |
2 | fun _ = '_' | 2 | fun _ = '_' |
3 | ^^^ | 3 | ^^^ |
4 | and at testdata/language-features/basic-values/def07.reject.lc:1:1: | 4 | and at def07.reject.lc:1:1: |
5 | fun 1 = '1' | 5 | fun 1 = '1' |
6 | ^^^ | 6 | ^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char | 8 | fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char |
9 | fun2 :: forall a b . (Eq a, Num a) => a -> b -> Char | 9 | fun2 :: forall a b . (Eq a, Num a) => a -> b -> Char |
10 | fun :: forall a . a -> Char | 10 | fun :: forall a . a -> Char |
11 | !already defined fun at testdata/language-features/basic-values/def07.reject.lc:4:1: | 11 | !already defined fun at def07.reject.lc:4:1: |
12 | fun _ = '_' | 12 | fun _ = '_' |
13 | ^^^ | 13 | ^^^ |
14 | and at testdata/language-features/basic-values/def07.reject.lc:1:1: | 14 | and at def07.reject.lc:1:1: |
15 | fun 1 = '1' | 15 | fun 1 = '1' |
16 | ^^^ | 16 | ^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/def07.reject.lc 1:1-1:4 | 18 | def07.reject.lc 1:1-1:4 |
19 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char | 19 | forall a . (Eq a, Num a, Eq a, Num a) => a -> Char |
20 | testdata/language-features/basic-values/def07.reject.lc 1:9-1:12 | 20 | def07.reject.lc 1:9-1:12 |
21 | Char | 21 | Char |
22 | testdata/language-features/basic-values/def07.reject.lc 1:9-2:12 | 22 | def07.reject.lc 1:9-2:12 |
23 | Bool -> Char | 23 | Bool -> Char |
24 | testdata/language-features/basic-values/def07.reject.lc 2:9-2:12 | 24 | def07.reject.lc 2:9-2:12 |
25 | Char | Char | 25 | Char | Char |
26 | testdata/language-features/basic-values/def07.reject.lc 3:1-3:5 | 26 | def07.reject.lc 3:1-3:5 |
27 | forall a b . (Eq a, Num a) => a -> b -> Char | 27 | forall a b . (Eq a, Num a) => a -> b -> Char |
28 | testdata/language-features/basic-values/def07.reject.lc 3:12-3:15 | 28 | def07.reject.lc 3:12-3:15 |
29 | Char | 29 | Char |
30 | testdata/language-features/basic-values/def07.reject.lc 4:1-4:4 | 30 | def07.reject.lc 4:1-4:4 |
31 | forall a . a -> Char | 31 | forall a . a -> Char |
32 | testdata/language-features/basic-values/def07.reject.lc 4:9-4:12 | 32 | def07.reject.lc 4:9-4:12 |
33 | Char | 33 | Char |
34 | ------------ warnings | 34 | ------------ warnings |
35 | Uncovered pattern(s) at testdata/language-features/basic-values/def07.reject.lc:1:1: | 35 | Uncovered pattern(s) at def07.reject.lc:1:1: |
36 | fun 1 = '1' | 36 | fun 1 = '1' |
37 | fun 2 = '2' | 37 | fun 2 = '2' |
38 | Missing case(s): | 38 | Missing case(s): |
39 | fun _ | False <- fromInt 1 == _a, False <- fromInt 2 == _a | 39 | fun _ | False <- fromInt 1 == _a, False <- fromInt 2 == _a |
40 | Uncovered pattern(s) at testdata/language-features/basic-values/def07.reject.lc:3:1: | 40 | Uncovered pattern(s) at def07.reject.lc:3:1: |
41 | fun2 1 _ = '1' | 41 | fun2 1 _ = '1' |
42 | ^^^^ | 42 | ^^^^ |
43 | Missing case(s): | 43 | Missing case(s): |
diff --git a/testdata/language-features/basic-values/deforder01.out b/testdata/language-features/basic-values/deforder01.out index 932a2a54..c1a1dec0 100644 --- a/testdata/language-features/basic-values/deforder01.out +++ b/testdata/language-features/basic-values/deforder01.out | |||
@@ -10,11 +10,11 @@ x = _rhs '1' | |||
10 | y :: Char | 10 | y :: Char |
11 | y = _rhs '1' | 11 | y = _rhs '1' |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/deforder01.lc 1:1-1:2 | 13 | deforder01.lc 1:1-1:2 |
14 | Char | 14 | Char |
15 | testdata/language-features/basic-values/deforder01.lc 1:5-1:8 | 15 | deforder01.lc 1:5-1:8 |
16 | Char | 16 | Char |
17 | testdata/language-features/basic-values/deforder01.lc 2:1-2:2 | 17 | deforder01.lc 2:1-2:2 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-values/deforder01.lc 2:5-2:6 | 19 | deforder01.lc 2:5-2:6 |
20 | Char \ No newline at end of file | 20 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/deforder02.out b/testdata/language-features/basic-values/deforder02.out index 2bfbd5b3..3173fc2d 100644 --- a/testdata/language-features/basic-values/deforder02.out +++ b/testdata/language-features/basic-values/deforder02.out | |||
@@ -10,11 +10,11 @@ x = _rhs '1' | |||
10 | y :: Char | 10 | y :: Char |
11 | y = _rhs '1' | 11 | y = _rhs '1' |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/deforder02.lc 1:1-1:2 | 13 | deforder02.lc 1:1-1:2 |
14 | Char | 14 | Char |
15 | testdata/language-features/basic-values/deforder02.lc 1:5-1:6 | 15 | deforder02.lc 1:5-1:6 |
16 | Char | 16 | Char |
17 | testdata/language-features/basic-values/deforder02.lc 2:1-2:2 | 17 | deforder02.lc 2:1-2:2 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-values/deforder02.lc 2:5-2:8 | 19 | deforder02.lc 2:5-2:8 |
20 | Char \ No newline at end of file | 20 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/deforder03.out b/testdata/language-features/basic-values/deforder03.out index 66cb3c71..c77dd75f 100644 --- a/testdata/language-features/basic-values/deforder03.out +++ b/testdata/language-features/basic-values/deforder03.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs let a = (); b = a in '1') | |||
5 | value :: Char | 5 | value :: Char |
6 | value = _rhs '1' | 6 | value = _rhs '1' |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/deforder03.lc 1:1-1:6 | 8 | deforder03.lc 1:1-1:6 |
9 | Char | 9 | Char |
10 | testdata/language-features/basic-values/deforder03.lc 1:17-1:19 | 10 | deforder03.lc 1:17-1:19 |
11 | () | 11 | () |
12 | testdata/language-features/basic-values/deforder03.lc 2:17-2:18 | 12 | deforder03.lc 2:17-2:18 |
13 | () | 13 | () |
14 | testdata/language-features/basic-values/deforder03.lc 3:12-3:15 | 14 | deforder03.lc 3:12-3:15 |
15 | Char \ No newline at end of file | 15 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/deforder04.out b/testdata/language-features/basic-values/deforder04.out index 17a9a408..b30d2932 100644 --- a/testdata/language-features/basic-values/deforder04.out +++ b/testdata/language-features/basic-values/deforder04.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs let a = (); b = a in '1') | |||
5 | value :: Char | 5 | value :: Char |
6 | value = _rhs '1' | 6 | value = _rhs '1' |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/deforder04.lc 1:1-1:6 | 8 | deforder04.lc 1:1-1:6 |
9 | Char | 9 | Char |
10 | testdata/language-features/basic-values/deforder04.lc 1:17-1:18 | 10 | deforder04.lc 1:17-1:18 |
11 | () | 11 | () |
12 | testdata/language-features/basic-values/deforder04.lc 2:17-2:19 | 12 | deforder04.lc 2:17-2:19 |
13 | () | 13 | () |
14 | testdata/language-features/basic-values/deforder04.lc 3:12-3:15 | 14 | deforder04.lc 3:12-3:15 |
15 | Char \ No newline at end of file | 15 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/deforder05.out b/testdata/language-features/basic-values/deforder05.out index abc83591..c1b49368 100644 --- a/testdata/language-features/basic-values/deforder05.out +++ b/testdata/language-features/basic-values/deforder05.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs let a = (); b = a in '1') | |||
5 | value :: Char | 5 | value :: Char |
6 | value = _rhs '1' | 6 | value = _rhs '1' |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/deforder05.lc 1:1-1:6 | 8 | deforder05.lc 1:1-1:6 |
9 | Char | 9 | Char |
10 | testdata/language-features/basic-values/deforder05.lc 1:9-1:12 | 10 | deforder05.lc 1:9-1:12 |
11 | Char | 11 | Char |
12 | testdata/language-features/basic-values/deforder05.lc 1:23-1:24 | 12 | deforder05.lc 1:23-1:24 |
13 | () | 13 | () |
14 | testdata/language-features/basic-values/deforder05.lc 2:23-2:25 | 14 | deforder05.lc 2:23-2:25 |
15 | () \ No newline at end of file | 15 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/deforder06.out b/testdata/language-features/basic-values/deforder06.out index c44eec77..7fa41792 100644 --- a/testdata/language-features/basic-values/deforder06.out +++ b/testdata/language-features/basic-values/deforder06.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs let a = (); b = a in '1') | |||
5 | value :: Char | 5 | value :: Char |
6 | value = _rhs '1' | 6 | value = _rhs '1' |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/deforder06.lc 1:1-1:6 | 8 | deforder06.lc 1:1-1:6 |
9 | Char | 9 | Char |
10 | testdata/language-features/basic-values/deforder06.lc 1:9-1:12 | 10 | deforder06.lc 1:9-1:12 |
11 | Char | 11 | Char |
12 | testdata/language-features/basic-values/deforder06.lc 1:23-1:25 | 12 | deforder06.lc 1:23-1:25 |
13 | () | 13 | () |
14 | testdata/language-features/basic-values/deforder06.lc 2:23-2:24 | 14 | deforder06.lc 2:23-2:24 |
15 | () \ No newline at end of file | 15 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/fixity01.out b/testdata/language-features/basic-values/fixity01.out index 689c921a..50287803 100644 --- a/testdata/language-features/basic-values/fixity01.out +++ b/testdata/language-features/basic-values/fixity01.out | |||
@@ -28,19 +28,19 @@ funL = \a b c _ -> _rhs c | |||
28 | funR :: forall a b . a -> b -> a | 28 | funR :: forall a b . a -> b -> a |
29 | funR = \a b c _ -> _rhs c | 29 | funR = \a b c _ -> _rhs c |
30 | ------------ tooltips | 30 | ------------ tooltips |
31 | testdata/language-features/basic-values/fixity01.lc 1:1-1:5 | 31 | fixity01.lc 1:1-1:5 |
32 | forall a b . a -> b -> a | 32 | forall a b . a -> b -> a |
33 | testdata/language-features/basic-values/fixity01.lc 1:12-1:13 | 33 | fixity01.lc 1:12-1:13 |
34 | _d | 34 | _d |
35 | testdata/language-features/basic-values/fixity01.lc 2:1-2:5 | 35 | fixity01.lc 2:1-2:5 |
36 | forall a b . a -> b -> a | 36 | forall a b . a -> b -> a |
37 | testdata/language-features/basic-values/fixity01.lc 2:12-2:13 | 37 | fixity01.lc 2:12-2:13 |
38 | _d | 38 | _d |
39 | testdata/language-features/basic-values/fixity01.lc 4:3-4:7 | 39 | fixity01.lc 4:3-4:7 |
40 | forall a b . a -> b -> a | 40 | forall a b . a -> b -> a |
41 | testdata/language-features/basic-values/fixity01.lc 4:12-4:13 | 41 | fixity01.lc 4:12-4:13 |
42 | _d | 42 | _d |
43 | testdata/language-features/basic-values/fixity01.lc 5:3-5:7 | 43 | fixity01.lc 5:3-5:7 |
44 | forall a b . a -> b -> b | 44 | forall a b . a -> b -> b |
45 | testdata/language-features/basic-values/fixity01.lc 5:12-5:13 | 45 | fixity01.lc 5:12-5:13 |
46 | _b \ No newline at end of file | 46 | _b \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/fixity02.out b/testdata/language-features/basic-values/fixity02.out index 1dbf5728..bdd35bc4 100644 --- a/testdata/language-features/basic-values/fixity02.out +++ b/testdata/language-features/basic-values/fixity02.out | |||
@@ -114,499 +114,499 @@ value7 = _rhs "hi" | |||
114 | value8 :: () | 114 | value8 :: () |
115 | value8 = _rhs () | 115 | value8 = _rhs () |
116 | ------------ tooltips | 116 | ------------ tooltips |
117 | testdata/language-features/basic-values/fixity02.lc 1:1-1:5 | 117 | fixity02.lc 1:1-1:5 |
118 | forall a b . a -> b -> a | 118 | forall a b . a -> b -> a |
119 | testdata/language-features/basic-values/fixity02.lc 1:12-1:13 | 119 | fixity02.lc 1:12-1:13 |
120 | _d | 120 | _d |
121 | testdata/language-features/basic-values/fixity02.lc 2:1-2:5 | 121 | fixity02.lc 2:1-2:5 |
122 | forall a b . a -> b -> b | 122 | forall a b . a -> b -> b |
123 | testdata/language-features/basic-values/fixity02.lc 2:12-2:13 | 123 | fixity02.lc 2:12-2:13 |
124 | _b | 124 | _b |
125 | testdata/language-features/basic-values/fixity02.lc 4:3-4:5 | 125 | fixity02.lc 4:3-4:5 |
126 | forall a b . a -> b -> a | 126 | forall a b . a -> b -> a |
127 | testdata/language-features/basic-values/fixity02.lc 4:10-4:11 | 127 | fixity02.lc 4:10-4:11 |
128 | _d | 128 | _d |
129 | testdata/language-features/basic-values/fixity02.lc 5:3-5:5 | 129 | fixity02.lc 5:3-5:5 |
130 | forall a b . a -> b -> b | 130 | forall a b . a -> b -> b |
131 | testdata/language-features/basic-values/fixity02.lc 5:10-5:11 | 131 | fixity02.lc 5:10-5:11 |
132 | _b | 132 | _b |
133 | testdata/language-features/basic-values/fixity02.lc 11:1-11:7 | 133 | fixity02.lc 11:1-11:7 |
134 | Float | 134 | Float |
135 | testdata/language-features/basic-values/fixity02.lc 11:10-11:12 | 135 | fixity02.lc 11:10-11:12 |
136 | () | 136 | () |
137 | testdata/language-features/basic-values/fixity02.lc 11:10-11:15 | 137 | fixity02.lc 11:10-11:15 |
138 | _a -> _a | 138 | _a -> _a |
139 | testdata/language-features/basic-values/fixity02.lc 11:10-11:34 | 139 | fixity02.lc 11:10-11:34 |
140 | Float | 140 | Float |
141 | testdata/language-features/basic-values/fixity02.lc 11:13-11:15 | 141 | fixity02.lc 11:13-11:15 |
142 | forall a b . a -> b -> b | 142 | forall a b . a -> b -> b |
143 | testdata/language-features/basic-values/fixity02.lc 11:16-11:19 | 143 | fixity02.lc 11:16-11:19 |
144 | Char | 144 | Char |
145 | testdata/language-features/basic-values/fixity02.lc 11:16-11:22 | 145 | fixity02.lc 11:16-11:22 |
146 | _a -> _a | 146 | _a -> _a |
147 | testdata/language-features/basic-values/fixity02.lc 11:16-11:34 | 147 | fixity02.lc 11:16-11:34 |
148 | Float | 148 | Float |
149 | testdata/language-features/basic-values/fixity02.lc 11:20-11:22 | 149 | fixity02.lc 11:20-11:22 |
150 | forall a b . a -> b -> b | 150 | forall a b . a -> b -> b |
151 | testdata/language-features/basic-values/fixity02.lc 11:23-11:27 | 151 | fixity02.lc 11:23-11:27 |
152 | String | 152 | String |
153 | testdata/language-features/basic-values/fixity02.lc 11:23-11:30 | 153 | fixity02.lc 11:23-11:30 |
154 | _a -> _a | 154 | _a -> _a |
155 | testdata/language-features/basic-values/fixity02.lc 11:23-11:34 | 155 | fixity02.lc 11:23-11:34 |
156 | Float | 156 | Float |
157 | testdata/language-features/basic-values/fixity02.lc 11:28-11:30 | 157 | fixity02.lc 11:28-11:30 |
158 | forall a b . a -> b -> b | 158 | forall a b . a -> b -> b |
159 | testdata/language-features/basic-values/fixity02.lc 11:31-11:34 | 159 | fixity02.lc 11:31-11:34 |
160 | Float | 160 | Float |
161 | testdata/language-features/basic-values/fixity02.lc 11:38-11:43 | 161 | fixity02.lc 11:38-11:43 |
162 | Type | 162 | Type |
163 | testdata/language-features/basic-values/fixity02.lc 12:1-12:7 | 163 | fixity02.lc 12:1-12:7 |
164 | Float | 164 | Float |
165 | testdata/language-features/basic-values/fixity02.lc 12:10-12:12 | 165 | fixity02.lc 12:10-12:12 |
166 | () | 166 | () |
167 | testdata/language-features/basic-values/fixity02.lc 12:10-12:15 | 167 | fixity02.lc 12:10-12:15 |
168 | _a -> _a | 168 | _a -> _a |
169 | testdata/language-features/basic-values/fixity02.lc 12:10-12:34 | 169 | fixity02.lc 12:10-12:34 |
170 | Float | 170 | Float |
171 | testdata/language-features/basic-values/fixity02.lc 12:13-12:15 | 171 | fixity02.lc 12:13-12:15 |
172 | forall a b . a -> b -> b | 172 | forall a b . a -> b -> b |
173 | testdata/language-features/basic-values/fixity02.lc 12:16-12:19 | 173 | fixity02.lc 12:16-12:19 |
174 | Char | 174 | Char |
175 | testdata/language-features/basic-values/fixity02.lc 12:16-12:22 | 175 | fixity02.lc 12:16-12:22 |
176 | _a -> Char | 176 | _a -> Char |
177 | testdata/language-features/basic-values/fixity02.lc 12:16-12:27 | 177 | fixity02.lc 12:16-12:27 |
178 | Char | 178 | Char |
179 | testdata/language-features/basic-values/fixity02.lc 12:16-12:30 | 179 | fixity02.lc 12:16-12:30 |
180 | _a -> _a | 180 | _a -> _a |
181 | testdata/language-features/basic-values/fixity02.lc 12:16-12:34 | 181 | fixity02.lc 12:16-12:34 |
182 | Float | 182 | Float |
183 | testdata/language-features/basic-values/fixity02.lc 12:20-12:22 | 183 | fixity02.lc 12:20-12:22 |
184 | forall a b . a -> b -> a | 184 | forall a b . a -> b -> a |
185 | testdata/language-features/basic-values/fixity02.lc 12:23-12:27 | 185 | fixity02.lc 12:23-12:27 |
186 | String | 186 | String |
187 | testdata/language-features/basic-values/fixity02.lc 12:28-12:30 | 187 | fixity02.lc 12:28-12:30 |
188 | forall a b . a -> b -> b | 188 | forall a b . a -> b -> b |
189 | testdata/language-features/basic-values/fixity02.lc 12:31-12:34 | 189 | fixity02.lc 12:31-12:34 |
190 | Float | 190 | Float |
191 | testdata/language-features/basic-values/fixity02.lc 12:38-12:43 | 191 | fixity02.lc 12:38-12:43 |
192 | Type | 192 | Type |
193 | testdata/language-features/basic-values/fixity02.lc 13:1-13:7 | 193 | fixity02.lc 13:1-13:7 |
194 | Float | 194 | Float |
195 | testdata/language-features/basic-values/fixity02.lc 13:10-13:12 | 195 | fixity02.lc 13:10-13:12 |
196 | () | 196 | () |
197 | testdata/language-features/basic-values/fixity02.lc 13:10-13:15 | 197 | fixity02.lc 13:10-13:15 |
198 | _a -> () | 198 | _a -> () |
199 | testdata/language-features/basic-values/fixity02.lc 13:10-13:19 | 199 | fixity02.lc 13:10-13:19 |
200 | () | 200 | () |
201 | testdata/language-features/basic-values/fixity02.lc 13:10-13:22 | 201 | fixity02.lc 13:10-13:22 |
202 | _a -> _a | 202 | _a -> _a |
203 | testdata/language-features/basic-values/fixity02.lc 13:10-13:34 | 203 | fixity02.lc 13:10-13:34 |
204 | Float | 204 | Float |
205 | testdata/language-features/basic-values/fixity02.lc 13:13-13:15 | 205 | fixity02.lc 13:13-13:15 |
206 | forall a b . a -> b -> a | 206 | forall a b . a -> b -> a |
207 | testdata/language-features/basic-values/fixity02.lc 13:16-13:19 | 207 | fixity02.lc 13:16-13:19 |
208 | Char | 208 | Char |
209 | testdata/language-features/basic-values/fixity02.lc 13:20-13:22 | 209 | fixity02.lc 13:20-13:22 |
210 | forall a b . a -> b -> b | 210 | forall a b . a -> b -> b |
211 | testdata/language-features/basic-values/fixity02.lc 13:23-13:27 | 211 | fixity02.lc 13:23-13:27 |
212 | String | 212 | String |
213 | testdata/language-features/basic-values/fixity02.lc 13:23-13:30 | 213 | fixity02.lc 13:23-13:30 |
214 | _a -> _a | 214 | _a -> _a |
215 | testdata/language-features/basic-values/fixity02.lc 13:23-13:34 | 215 | fixity02.lc 13:23-13:34 |
216 | Float | 216 | Float |
217 | testdata/language-features/basic-values/fixity02.lc 13:28-13:30 | 217 | fixity02.lc 13:28-13:30 |
218 | forall a b . a -> b -> b | 218 | forall a b . a -> b -> b |
219 | testdata/language-features/basic-values/fixity02.lc 13:31-13:34 | 219 | fixity02.lc 13:31-13:34 |
220 | Float | 220 | Float |
221 | testdata/language-features/basic-values/fixity02.lc 13:38-13:43 | 221 | fixity02.lc 13:38-13:43 |
222 | Type | 222 | Type |
223 | testdata/language-features/basic-values/fixity02.lc 14:1-14:7 | 223 | fixity02.lc 14:1-14:7 |
224 | Float | 224 | Float |
225 | testdata/language-features/basic-values/fixity02.lc 14:10-14:12 | 225 | fixity02.lc 14:10-14:12 |
226 | () | 226 | () |
227 | testdata/language-features/basic-values/fixity02.lc 14:10-14:15 | 227 | fixity02.lc 14:10-14:15 |
228 | _a -> () | 228 | _a -> () |
229 | testdata/language-features/basic-values/fixity02.lc 14:10-14:27 | 229 | fixity02.lc 14:10-14:27 |
230 | () | 230 | () |
231 | testdata/language-features/basic-values/fixity02.lc 14:10-14:30 | 231 | fixity02.lc 14:10-14:30 |
232 | _a -> _a | 232 | _a -> _a |
233 | testdata/language-features/basic-values/fixity02.lc 14:10-14:34 | 233 | fixity02.lc 14:10-14:34 |
234 | Float | 234 | Float |
235 | testdata/language-features/basic-values/fixity02.lc 14:13-14:15 | 235 | fixity02.lc 14:13-14:15 |
236 | forall a b . a -> b -> a | 236 | forall a b . a -> b -> a |
237 | testdata/language-features/basic-values/fixity02.lc 14:16-14:19 | 237 | fixity02.lc 14:16-14:19 |
238 | Char | 238 | Char |
239 | testdata/language-features/basic-values/fixity02.lc 14:16-14:22 | 239 | fixity02.lc 14:16-14:22 |
240 | _a -> Char | 240 | _a -> Char |
241 | testdata/language-features/basic-values/fixity02.lc 14:16-14:27 | 241 | fixity02.lc 14:16-14:27 |
242 | Char | 242 | Char |
243 | testdata/language-features/basic-values/fixity02.lc 14:20-14:22 | 243 | fixity02.lc 14:20-14:22 |
244 | forall a b . a -> b -> a | 244 | forall a b . a -> b -> a |
245 | testdata/language-features/basic-values/fixity02.lc 14:23-14:27 | 245 | fixity02.lc 14:23-14:27 |
246 | String | 246 | String |
247 | testdata/language-features/basic-values/fixity02.lc 14:28-14:30 | 247 | fixity02.lc 14:28-14:30 |
248 | forall a b . a -> b -> b | 248 | forall a b . a -> b -> b |
249 | testdata/language-features/basic-values/fixity02.lc 14:31-14:34 | 249 | fixity02.lc 14:31-14:34 |
250 | Float | 250 | Float |
251 | testdata/language-features/basic-values/fixity02.lc 14:38-14:43 | 251 | fixity02.lc 14:38-14:43 |
252 | Type | 252 | Type |
253 | testdata/language-features/basic-values/fixity02.lc 15:1-15:7 | 253 | fixity02.lc 15:1-15:7 |
254 | String | 254 | String |
255 | testdata/language-features/basic-values/fixity02.lc 15:10-15:12 | 255 | fixity02.lc 15:10-15:12 |
256 | () | 256 | () |
257 | testdata/language-features/basic-values/fixity02.lc 15:10-15:15 | 257 | fixity02.lc 15:10-15:15 |
258 | _a -> _a | 258 | _a -> _a |
259 | testdata/language-features/basic-values/fixity02.lc 15:10-15:34 | 259 | fixity02.lc 15:10-15:34 |
260 | String | 260 | String |
261 | testdata/language-features/basic-values/fixity02.lc 15:13-15:15 | 261 | fixity02.lc 15:13-15:15 |
262 | forall a b . a -> b -> b | 262 | forall a b . a -> b -> b |
263 | testdata/language-features/basic-values/fixity02.lc 15:16-15:19 | 263 | fixity02.lc 15:16-15:19 |
264 | Char | 264 | Char |
265 | testdata/language-features/basic-values/fixity02.lc 15:16-15:22 | 265 | fixity02.lc 15:16-15:22 |
266 | _a -> _a | 266 | _a -> _a |
267 | testdata/language-features/basic-values/fixity02.lc 15:16-15:34 | 267 | fixity02.lc 15:16-15:34 |
268 | String | 268 | String |
269 | testdata/language-features/basic-values/fixity02.lc 15:20-15:22 | 269 | fixity02.lc 15:20-15:22 |
270 | forall a b . a -> b -> b | 270 | forall a b . a -> b -> b |
271 | testdata/language-features/basic-values/fixity02.lc 15:23-15:27 | 271 | fixity02.lc 15:23-15:27 |
272 | String | 272 | String |
273 | testdata/language-features/basic-values/fixity02.lc 15:23-15:30 | 273 | fixity02.lc 15:23-15:30 |
274 | _a -> String | 274 | _a -> String |
275 | testdata/language-features/basic-values/fixity02.lc 15:23-15:34 | 275 | fixity02.lc 15:23-15:34 |
276 | String | 276 | String |
277 | testdata/language-features/basic-values/fixity02.lc 15:28-15:30 | 277 | fixity02.lc 15:28-15:30 |
278 | forall a b . a -> b -> a | 278 | forall a b . a -> b -> a |
279 | testdata/language-features/basic-values/fixity02.lc 15:31-15:34 | 279 | fixity02.lc 15:31-15:34 |
280 | Float | 280 | Float |
281 | testdata/language-features/basic-values/fixity02.lc 15:38-15:44 | 281 | fixity02.lc 15:38-15:44 |
282 | Type | 282 | Type |
283 | testdata/language-features/basic-values/fixity02.lc 16:1-16:7 | 283 | fixity02.lc 16:1-16:7 |
284 | Char | 284 | Char |
285 | testdata/language-features/basic-values/fixity02.lc 16:10-16:12 | 285 | fixity02.lc 16:10-16:12 |
286 | () | 286 | () |
287 | testdata/language-features/basic-values/fixity02.lc 16:10-16:15 | 287 | fixity02.lc 16:10-16:15 |
288 | _a -> _a | 288 | _a -> _a |
289 | testdata/language-features/basic-values/fixity02.lc 16:10-16:34 | 289 | fixity02.lc 16:10-16:34 |
290 | Char | 290 | Char |
291 | testdata/language-features/basic-values/fixity02.lc 16:13-16:15 | 291 | fixity02.lc 16:13-16:15 |
292 | forall a b . a -> b -> b | 292 | forall a b . a -> b -> b |
293 | testdata/language-features/basic-values/fixity02.lc 16:16-16:19 | 293 | fixity02.lc 16:16-16:19 |
294 | Char | 294 | Char |
295 | testdata/language-features/basic-values/fixity02.lc 16:16-16:22 | 295 | fixity02.lc 16:16-16:22 |
296 | _a -> Char | 296 | _a -> Char |
297 | testdata/language-features/basic-values/fixity02.lc 16:16-16:34 | 297 | fixity02.lc 16:16-16:34 |
298 | Char | 298 | Char |
299 | testdata/language-features/basic-values/fixity02.lc 16:20-16:22 | 299 | fixity02.lc 16:20-16:22 |
300 | forall a b . a -> b -> a | 300 | forall a b . a -> b -> a |
301 | testdata/language-features/basic-values/fixity02.lc 16:23-16:27 | 301 | fixity02.lc 16:23-16:27 |
302 | String | 302 | String |
303 | testdata/language-features/basic-values/fixity02.lc 16:23-16:30 | 303 | fixity02.lc 16:23-16:30 |
304 | _a -> String | 304 | _a -> String |
305 | testdata/language-features/basic-values/fixity02.lc 16:23-16:34 | 305 | fixity02.lc 16:23-16:34 |
306 | String | 306 | String |
307 | testdata/language-features/basic-values/fixity02.lc 16:28-16:30 | 307 | fixity02.lc 16:28-16:30 |
308 | forall a b . a -> b -> a | 308 | forall a b . a -> b -> a |
309 | testdata/language-features/basic-values/fixity02.lc 16:31-16:34 | 309 | fixity02.lc 16:31-16:34 |
310 | Float | 310 | Float |
311 | testdata/language-features/basic-values/fixity02.lc 16:38-16:42 | 311 | fixity02.lc 16:38-16:42 |
312 | Type | 312 | Type |
313 | testdata/language-features/basic-values/fixity02.lc 17:1-17:7 | 313 | fixity02.lc 17:1-17:7 |
314 | String | 314 | String |
315 | testdata/language-features/basic-values/fixity02.lc 17:10-17:12 | 315 | fixity02.lc 17:10-17:12 |
316 | () | 316 | () |
317 | testdata/language-features/basic-values/fixity02.lc 17:10-17:15 | 317 | fixity02.lc 17:10-17:15 |
318 | _a -> () | 318 | _a -> () |
319 | testdata/language-features/basic-values/fixity02.lc 17:10-17:19 | 319 | fixity02.lc 17:10-17:19 |
320 | () | 320 | () |
321 | testdata/language-features/basic-values/fixity02.lc 17:10-17:22 | 321 | fixity02.lc 17:10-17:22 |
322 | _a -> _a | 322 | _a -> _a |
323 | testdata/language-features/basic-values/fixity02.lc 17:10-17:34 | 323 | fixity02.lc 17:10-17:34 |
324 | String | 324 | String |
325 | testdata/language-features/basic-values/fixity02.lc 17:13-17:15 | 325 | fixity02.lc 17:13-17:15 |
326 | forall a b . a -> b -> a | 326 | forall a b . a -> b -> a |
327 | testdata/language-features/basic-values/fixity02.lc 17:16-17:19 | 327 | fixity02.lc 17:16-17:19 |
328 | Char | 328 | Char |
329 | testdata/language-features/basic-values/fixity02.lc 17:20-17:22 | 329 | fixity02.lc 17:20-17:22 |
330 | forall a b . a -> b -> b | 330 | forall a b . a -> b -> b |
331 | testdata/language-features/basic-values/fixity02.lc 17:23-17:27 | 331 | fixity02.lc 17:23-17:27 |
332 | String | 332 | String |
333 | testdata/language-features/basic-values/fixity02.lc 17:23-17:30 | 333 | fixity02.lc 17:23-17:30 |
334 | _a -> String | 334 | _a -> String |
335 | testdata/language-features/basic-values/fixity02.lc 17:23-17:34 | 335 | fixity02.lc 17:23-17:34 |
336 | String | 336 | String |
337 | testdata/language-features/basic-values/fixity02.lc 17:28-17:30 | 337 | fixity02.lc 17:28-17:30 |
338 | forall a b . a -> b -> a | 338 | forall a b . a -> b -> a |
339 | testdata/language-features/basic-values/fixity02.lc 17:31-17:34 | 339 | fixity02.lc 17:31-17:34 |
340 | Float | 340 | Float |
341 | testdata/language-features/basic-values/fixity02.lc 17:38-17:44 | 341 | fixity02.lc 17:38-17:44 |
342 | Type | 342 | Type |
343 | testdata/language-features/basic-values/fixity02.lc 18:1-18:7 | 343 | fixity02.lc 18:1-18:7 |
344 | () | 344 | () |
345 | testdata/language-features/basic-values/fixity02.lc 18:10-18:12 | 345 | fixity02.lc 18:10-18:12 |
346 | () | 346 | () |
347 | testdata/language-features/basic-values/fixity02.lc 18:10-18:15 | 347 | fixity02.lc 18:10-18:15 |
348 | _a -> () | 348 | _a -> () |
349 | testdata/language-features/basic-values/fixity02.lc 18:10-18:34 | 349 | fixity02.lc 18:10-18:34 |
350 | () | 350 | () |
351 | testdata/language-features/basic-values/fixity02.lc 18:13-18:15 | 351 | fixity02.lc 18:13-18:15 |
352 | forall a b . a -> b -> a | 352 | forall a b . a -> b -> a |
353 | testdata/language-features/basic-values/fixity02.lc 18:16-18:19 | 353 | fixity02.lc 18:16-18:19 |
354 | Char | 354 | Char |
355 | testdata/language-features/basic-values/fixity02.lc 18:16-18:22 | 355 | fixity02.lc 18:16-18:22 |
356 | _a -> Char | 356 | _a -> Char |
357 | testdata/language-features/basic-values/fixity02.lc 18:16-18:34 | 357 | fixity02.lc 18:16-18:34 |
358 | Char | 358 | Char |
359 | testdata/language-features/basic-values/fixity02.lc 18:20-18:22 | 359 | fixity02.lc 18:20-18:22 |
360 | forall a b . a -> b -> a | 360 | forall a b . a -> b -> a |
361 | testdata/language-features/basic-values/fixity02.lc 18:23-18:27 | 361 | fixity02.lc 18:23-18:27 |
362 | String | 362 | String |
363 | testdata/language-features/basic-values/fixity02.lc 18:23-18:30 | 363 | fixity02.lc 18:23-18:30 |
364 | _a -> String | 364 | _a -> String |
365 | testdata/language-features/basic-values/fixity02.lc 18:23-18:34 | 365 | fixity02.lc 18:23-18:34 |
366 | String | 366 | String |
367 | testdata/language-features/basic-values/fixity02.lc 18:28-18:30 | 367 | fixity02.lc 18:28-18:30 |
368 | forall a b . a -> b -> a | 368 | forall a b . a -> b -> a |
369 | testdata/language-features/basic-values/fixity02.lc 18:31-18:34 | 369 | fixity02.lc 18:31-18:34 |
370 | Float | 370 | Float |
371 | testdata/language-features/basic-values/fixity02.lc 18:38-18:40 | 371 | fixity02.lc 18:38-18:40 |
372 | Type | 372 | Type |
373 | testdata/language-features/basic-values/fixity02.lc 20:1-20:10 | 373 | fixity02.lc 20:1-20:10 |
374 | Float | 374 | Float |
375 | testdata/language-features/basic-values/fixity02.lc 20:13-20:15 | 375 | fixity02.lc 20:13-20:15 |
376 | () | 376 | () |
377 | testdata/language-features/basic-values/fixity02.lc 20:13-20:22 | 377 | fixity02.lc 20:13-20:22 |
378 | _a -> _a | 378 | _a -> _a |
379 | testdata/language-features/basic-values/fixity02.lc 20:13-20:49 | 379 | fixity02.lc 20:13-20:49 |
380 | Float | 380 | Float |
381 | testdata/language-features/basic-values/fixity02.lc 20:16-20:22 | 381 | fixity02.lc 20:16-20:22 |
382 | forall a b . a -> b -> b | 382 | forall a b . a -> b -> b |
383 | testdata/language-features/basic-values/fixity02.lc 20:23-20:26 | 383 | fixity02.lc 20:23-20:26 |
384 | Char | 384 | Char |
385 | testdata/language-features/basic-values/fixity02.lc 20:23-20:33 | 385 | fixity02.lc 20:23-20:33 |
386 | _a -> _a | 386 | _a -> _a |
387 | testdata/language-features/basic-values/fixity02.lc 20:23-20:49 | 387 | fixity02.lc 20:23-20:49 |
388 | Float | 388 | Float |
389 | testdata/language-features/basic-values/fixity02.lc 20:27-20:33 | 389 | fixity02.lc 20:27-20:33 |
390 | forall a b . a -> b -> b | 390 | forall a b . a -> b -> b |
391 | testdata/language-features/basic-values/fixity02.lc 20:34-20:38 | 391 | fixity02.lc 20:34-20:38 |
392 | String | 392 | String |
393 | testdata/language-features/basic-values/fixity02.lc 20:34-20:45 | 393 | fixity02.lc 20:34-20:45 |
394 | _a -> _a | 394 | _a -> _a |
395 | testdata/language-features/basic-values/fixity02.lc 20:34-20:49 | 395 | fixity02.lc 20:34-20:49 |
396 | Float | 396 | Float |
397 | testdata/language-features/basic-values/fixity02.lc 20:39-20:45 | 397 | fixity02.lc 20:39-20:45 |
398 | forall a b . a -> b -> b | 398 | forall a b . a -> b -> b |
399 | testdata/language-features/basic-values/fixity02.lc 20:46-20:49 | 399 | fixity02.lc 20:46-20:49 |
400 | Float | 400 | Float |
401 | testdata/language-features/basic-values/fixity02.lc 20:53-20:58 | 401 | fixity02.lc 20:53-20:58 |
402 | Type | 402 | Type |
403 | testdata/language-features/basic-values/fixity02.lc 21:1-21:10 | 403 | fixity02.lc 21:1-21:10 |
404 | Float | 404 | Float |
405 | testdata/language-features/basic-values/fixity02.lc 21:13-21:15 | 405 | fixity02.lc 21:13-21:15 |
406 | () | 406 | () |
407 | testdata/language-features/basic-values/fixity02.lc 21:13-21:22 | 407 | fixity02.lc 21:13-21:22 |
408 | _a -> _a | 408 | _a -> _a |
409 | testdata/language-features/basic-values/fixity02.lc 21:13-21:49 | 409 | fixity02.lc 21:13-21:49 |
410 | Float | 410 | Float |
411 | testdata/language-features/basic-values/fixity02.lc 21:16-21:22 | 411 | fixity02.lc 21:16-21:22 |
412 | forall a b . a -> b -> b | 412 | forall a b . a -> b -> b |
413 | testdata/language-features/basic-values/fixity02.lc 21:23-21:26 | 413 | fixity02.lc 21:23-21:26 |
414 | Char | 414 | Char |
415 | testdata/language-features/basic-values/fixity02.lc 21:23-21:33 | 415 | fixity02.lc 21:23-21:33 |
416 | _a -> Char | 416 | _a -> Char |
417 | testdata/language-features/basic-values/fixity02.lc 21:23-21:38 | 417 | fixity02.lc 21:23-21:38 |
418 | Char | 418 | Char |
419 | testdata/language-features/basic-values/fixity02.lc 21:23-21:45 | 419 | fixity02.lc 21:23-21:45 |
420 | _a -> _a | 420 | _a -> _a |
421 | testdata/language-features/basic-values/fixity02.lc 21:23-21:49 | 421 | fixity02.lc 21:23-21:49 |
422 | Float | 422 | Float |
423 | testdata/language-features/basic-values/fixity02.lc 21:27-21:33 | 423 | fixity02.lc 21:27-21:33 |
424 | forall a b . a -> b -> a | 424 | forall a b . a -> b -> a |
425 | testdata/language-features/basic-values/fixity02.lc 21:34-21:38 | 425 | fixity02.lc 21:34-21:38 |
426 | String | 426 | String |
427 | testdata/language-features/basic-values/fixity02.lc 21:39-21:45 | 427 | fixity02.lc 21:39-21:45 |
428 | forall a b . a -> b -> b | 428 | forall a b . a -> b -> b |
429 | testdata/language-features/basic-values/fixity02.lc 21:46-21:49 | 429 | fixity02.lc 21:46-21:49 |
430 | Float | 430 | Float |
431 | testdata/language-features/basic-values/fixity02.lc 21:53-21:58 | 431 | fixity02.lc 21:53-21:58 |
432 | Type | 432 | Type |
433 | testdata/language-features/basic-values/fixity02.lc 22:1-22:10 | 433 | fixity02.lc 22:1-22:10 |
434 | Float | 434 | Float |
435 | testdata/language-features/basic-values/fixity02.lc 22:13-22:15 | 435 | fixity02.lc 22:13-22:15 |
436 | () | 436 | () |
437 | testdata/language-features/basic-values/fixity02.lc 22:13-22:22 | 437 | fixity02.lc 22:13-22:22 |
438 | _a -> () | 438 | _a -> () |
439 | testdata/language-features/basic-values/fixity02.lc 22:13-22:26 | 439 | fixity02.lc 22:13-22:26 |
440 | () | 440 | () |
441 | testdata/language-features/basic-values/fixity02.lc 22:13-22:33 | 441 | fixity02.lc 22:13-22:33 |
442 | _a -> _a | 442 | _a -> _a |
443 | testdata/language-features/basic-values/fixity02.lc 22:13-22:49 | 443 | fixity02.lc 22:13-22:49 |
444 | Float | 444 | Float |
445 | testdata/language-features/basic-values/fixity02.lc 22:16-22:22 | 445 | fixity02.lc 22:16-22:22 |
446 | forall a b . a -> b -> a | 446 | forall a b . a -> b -> a |
447 | testdata/language-features/basic-values/fixity02.lc 22:23-22:26 | 447 | fixity02.lc 22:23-22:26 |
448 | Char | 448 | Char |
449 | testdata/language-features/basic-values/fixity02.lc 22:27-22:33 | 449 | fixity02.lc 22:27-22:33 |
450 | forall a b . a -> b -> b | 450 | forall a b . a -> b -> b |
451 | testdata/language-features/basic-values/fixity02.lc 22:34-22:38 | 451 | fixity02.lc 22:34-22:38 |
452 | String | 452 | String |
453 | testdata/language-features/basic-values/fixity02.lc 22:34-22:45 | 453 | fixity02.lc 22:34-22:45 |
454 | _a -> _a | 454 | _a -> _a |
455 | testdata/language-features/basic-values/fixity02.lc 22:34-22:49 | 455 | fixity02.lc 22:34-22:49 |
456 | Float | 456 | Float |
457 | testdata/language-features/basic-values/fixity02.lc 22:39-22:45 | 457 | fixity02.lc 22:39-22:45 |
458 | forall a b . a -> b -> b | 458 | forall a b . a -> b -> b |
459 | testdata/language-features/basic-values/fixity02.lc 22:46-22:49 | 459 | fixity02.lc 22:46-22:49 |
460 | Float | 460 | Float |
461 | testdata/language-features/basic-values/fixity02.lc 22:53-22:58 | 461 | fixity02.lc 22:53-22:58 |
462 | Type | 462 | Type |
463 | testdata/language-features/basic-values/fixity02.lc 23:1-23:10 | 463 | fixity02.lc 23:1-23:10 |
464 | Float | 464 | Float |
465 | testdata/language-features/basic-values/fixity02.lc 23:13-23:15 | 465 | fixity02.lc 23:13-23:15 |
466 | () | 466 | () |
467 | testdata/language-features/basic-values/fixity02.lc 23:13-23:22 | 467 | fixity02.lc 23:13-23:22 |
468 | _a -> () | 468 | _a -> () |
469 | testdata/language-features/basic-values/fixity02.lc 23:13-23:38 | 469 | fixity02.lc 23:13-23:38 |
470 | () | 470 | () |
471 | testdata/language-features/basic-values/fixity02.lc 23:13-23:45 | 471 | fixity02.lc 23:13-23:45 |
472 | _a -> _a | 472 | _a -> _a |
473 | testdata/language-features/basic-values/fixity02.lc 23:13-23:49 | 473 | fixity02.lc 23:13-23:49 |
474 | Float | 474 | Float |
475 | testdata/language-features/basic-values/fixity02.lc 23:16-23:22 | 475 | fixity02.lc 23:16-23:22 |
476 | forall a b . a -> b -> a | 476 | forall a b . a -> b -> a |
477 | testdata/language-features/basic-values/fixity02.lc 23:23-23:26 | 477 | fixity02.lc 23:23-23:26 |
478 | Char | 478 | Char |
479 | testdata/language-features/basic-values/fixity02.lc 23:23-23:33 | 479 | fixity02.lc 23:23-23:33 |
480 | _a -> Char | 480 | _a -> Char |
481 | testdata/language-features/basic-values/fixity02.lc 23:23-23:38 | 481 | fixity02.lc 23:23-23:38 |
482 | Char | 482 | Char |
483 | testdata/language-features/basic-values/fixity02.lc 23:27-23:33 | 483 | fixity02.lc 23:27-23:33 |
484 | forall a b . a -> b -> a | 484 | forall a b . a -> b -> a |
485 | testdata/language-features/basic-values/fixity02.lc 23:34-23:38 | 485 | fixity02.lc 23:34-23:38 |
486 | String | 486 | String |
487 | testdata/language-features/basic-values/fixity02.lc 23:39-23:45 | 487 | fixity02.lc 23:39-23:45 |
488 | forall a b . a -> b -> b | 488 | forall a b . a -> b -> b |
489 | testdata/language-features/basic-values/fixity02.lc 23:46-23:49 | 489 | fixity02.lc 23:46-23:49 |
490 | Float | 490 | Float |
491 | testdata/language-features/basic-values/fixity02.lc 23:53-23:58 | 491 | fixity02.lc 23:53-23:58 |
492 | Type | 492 | Type |
493 | testdata/language-features/basic-values/fixity02.lc 24:1-24:10 | 493 | fixity02.lc 24:1-24:10 |
494 | String | 494 | String |
495 | testdata/language-features/basic-values/fixity02.lc 24:13-24:15 | 495 | fixity02.lc 24:13-24:15 |
496 | () | 496 | () |
497 | testdata/language-features/basic-values/fixity02.lc 24:13-24:22 | 497 | fixity02.lc 24:13-24:22 |
498 | _a -> _a | 498 | _a -> _a |
499 | testdata/language-features/basic-values/fixity02.lc 24:13-24:49 | 499 | fixity02.lc 24:13-24:49 |
500 | String | 500 | String |
501 | testdata/language-features/basic-values/fixity02.lc 24:16-24:22 | 501 | fixity02.lc 24:16-24:22 |
502 | forall a b . a -> b -> b | 502 | forall a b . a -> b -> b |
503 | testdata/language-features/basic-values/fixity02.lc 24:23-24:26 | 503 | fixity02.lc 24:23-24:26 |
504 | Char | 504 | Char |
505 | testdata/language-features/basic-values/fixity02.lc 24:23-24:33 | 505 | fixity02.lc 24:23-24:33 |
506 | _a -> _a | 506 | _a -> _a |
507 | testdata/language-features/basic-values/fixity02.lc 24:23-24:49 | 507 | fixity02.lc 24:23-24:49 |
508 | String | 508 | String |
509 | testdata/language-features/basic-values/fixity02.lc 24:27-24:33 | 509 | fixity02.lc 24:27-24:33 |
510 | forall a b . a -> b -> b | 510 | forall a b . a -> b -> b |
511 | testdata/language-features/basic-values/fixity02.lc 24:34-24:38 | 511 | fixity02.lc 24:34-24:38 |
512 | String | 512 | String |
513 | testdata/language-features/basic-values/fixity02.lc 24:34-24:45 | 513 | fixity02.lc 24:34-24:45 |
514 | _a -> String | 514 | _a -> String |
515 | testdata/language-features/basic-values/fixity02.lc 24:34-24:49 | 515 | fixity02.lc 24:34-24:49 |
516 | String | 516 | String |
517 | testdata/language-features/basic-values/fixity02.lc 24:39-24:45 | 517 | fixity02.lc 24:39-24:45 |
518 | forall a b . a -> b -> a | 518 | forall a b . a -> b -> a |
519 | testdata/language-features/basic-values/fixity02.lc 24:46-24:49 | 519 | fixity02.lc 24:46-24:49 |
520 | Float | 520 | Float |
521 | testdata/language-features/basic-values/fixity02.lc 24:53-24:59 | 521 | fixity02.lc 24:53-24:59 |
522 | Type | 522 | Type |
523 | testdata/language-features/basic-values/fixity02.lc 25:1-25:10 | 523 | fixity02.lc 25:1-25:10 |
524 | Char | 524 | Char |
525 | testdata/language-features/basic-values/fixity02.lc 25:13-25:15 | 525 | fixity02.lc 25:13-25:15 |
526 | () | 526 | () |
527 | testdata/language-features/basic-values/fixity02.lc 25:13-25:22 | 527 | fixity02.lc 25:13-25:22 |
528 | _a -> _a | 528 | _a -> _a |
529 | testdata/language-features/basic-values/fixity02.lc 25:13-25:49 | 529 | fixity02.lc 25:13-25:49 |
530 | Char | 530 | Char |
531 | testdata/language-features/basic-values/fixity02.lc 25:16-25:22 | 531 | fixity02.lc 25:16-25:22 |
532 | forall a b . a -> b -> b | 532 | forall a b . a -> b -> b |
533 | testdata/language-features/basic-values/fixity02.lc 25:23-25:26 | 533 | fixity02.lc 25:23-25:26 |
534 | Char | 534 | Char |
535 | testdata/language-features/basic-values/fixity02.lc 25:23-25:33 | 535 | fixity02.lc 25:23-25:33 |
536 | _a -> Char | 536 | _a -> Char |
537 | testdata/language-features/basic-values/fixity02.lc 25:23-25:49 | 537 | fixity02.lc 25:23-25:49 |
538 | Char | 538 | Char |
539 | testdata/language-features/basic-values/fixity02.lc 25:27-25:33 | 539 | fixity02.lc 25:27-25:33 |
540 | forall a b . a -> b -> a | 540 | forall a b . a -> b -> a |
541 | testdata/language-features/basic-values/fixity02.lc 25:34-25:38 | 541 | fixity02.lc 25:34-25:38 |
542 | String | 542 | String |
543 | testdata/language-features/basic-values/fixity02.lc 25:34-25:45 | 543 | fixity02.lc 25:34-25:45 |
544 | _a -> String | 544 | _a -> String |
545 | testdata/language-features/basic-values/fixity02.lc 25:34-25:49 | 545 | fixity02.lc 25:34-25:49 |
546 | String | 546 | String |
547 | testdata/language-features/basic-values/fixity02.lc 25:39-25:45 | 547 | fixity02.lc 25:39-25:45 |
548 | forall a b . a -> b -> a | 548 | forall a b . a -> b -> a |
549 | testdata/language-features/basic-values/fixity02.lc 25:46-25:49 | 549 | fixity02.lc 25:46-25:49 |
550 | Float | 550 | Float |
551 | testdata/language-features/basic-values/fixity02.lc 25:53-25:57 | 551 | fixity02.lc 25:53-25:57 |
552 | Type | 552 | Type |
553 | testdata/language-features/basic-values/fixity02.lc 26:1-26:10 | 553 | fixity02.lc 26:1-26:10 |
554 | String | 554 | String |
555 | testdata/language-features/basic-values/fixity02.lc 26:13-26:15 | 555 | fixity02.lc 26:13-26:15 |
556 | () | 556 | () |
557 | testdata/language-features/basic-values/fixity02.lc 26:13-26:22 | 557 | fixity02.lc 26:13-26:22 |
558 | _a -> () | 558 | _a -> () |
559 | testdata/language-features/basic-values/fixity02.lc 26:13-26:26 | 559 | fixity02.lc 26:13-26:26 |
560 | () | 560 | () |
561 | testdata/language-features/basic-values/fixity02.lc 26:13-26:33 | 561 | fixity02.lc 26:13-26:33 |
562 | _a -> _a | 562 | _a -> _a |
563 | testdata/language-features/basic-values/fixity02.lc 26:13-26:49 | 563 | fixity02.lc 26:13-26:49 |
564 | String | 564 | String |
565 | testdata/language-features/basic-values/fixity02.lc 26:16-26:22 | 565 | fixity02.lc 26:16-26:22 |
566 | forall a b . a -> b -> a | 566 | forall a b . a -> b -> a |
567 | testdata/language-features/basic-values/fixity02.lc 26:23-26:26 | 567 | fixity02.lc 26:23-26:26 |
568 | Char | 568 | Char |
569 | testdata/language-features/basic-values/fixity02.lc 26:27-26:33 | 569 | fixity02.lc 26:27-26:33 |
570 | forall a b . a -> b -> b | 570 | forall a b . a -> b -> b |
571 | testdata/language-features/basic-values/fixity02.lc 26:34-26:38 | 571 | fixity02.lc 26:34-26:38 |
572 | String | 572 | String |
573 | testdata/language-features/basic-values/fixity02.lc 26:34-26:45 | 573 | fixity02.lc 26:34-26:45 |
574 | _a -> String | 574 | _a -> String |
575 | testdata/language-features/basic-values/fixity02.lc 26:34-26:49 | 575 | fixity02.lc 26:34-26:49 |
576 | String | 576 | String |
577 | testdata/language-features/basic-values/fixity02.lc 26:39-26:45 | 577 | fixity02.lc 26:39-26:45 |
578 | forall a b . a -> b -> a | 578 | forall a b . a -> b -> a |
579 | testdata/language-features/basic-values/fixity02.lc 26:46-26:49 | 579 | fixity02.lc 26:46-26:49 |
580 | Float | 580 | Float |
581 | testdata/language-features/basic-values/fixity02.lc 26:53-26:59 | 581 | fixity02.lc 26:53-26:59 |
582 | Type | 582 | Type |
583 | testdata/language-features/basic-values/fixity02.lc 27:1-27:10 | 583 | fixity02.lc 27:1-27:10 |
584 | () | 584 | () |
585 | testdata/language-features/basic-values/fixity02.lc 27:13-27:15 | 585 | fixity02.lc 27:13-27:15 |
586 | () | 586 | () |
587 | testdata/language-features/basic-values/fixity02.lc 27:13-27:22 | 587 | fixity02.lc 27:13-27:22 |
588 | _a -> () | 588 | _a -> () |
589 | testdata/language-features/basic-values/fixity02.lc 27:13-27:49 | 589 | fixity02.lc 27:13-27:49 |
590 | () | 590 | () |
591 | testdata/language-features/basic-values/fixity02.lc 27:16-27:22 | 591 | fixity02.lc 27:16-27:22 |
592 | forall a b . a -> b -> a | 592 | forall a b . a -> b -> a |
593 | testdata/language-features/basic-values/fixity02.lc 27:23-27:26 | 593 | fixity02.lc 27:23-27:26 |
594 | Char | 594 | Char |
595 | testdata/language-features/basic-values/fixity02.lc 27:23-27:33 | 595 | fixity02.lc 27:23-27:33 |
596 | _a -> Char | 596 | _a -> Char |
597 | testdata/language-features/basic-values/fixity02.lc 27:23-27:49 | 597 | fixity02.lc 27:23-27:49 |
598 | Char | 598 | Char |
599 | testdata/language-features/basic-values/fixity02.lc 27:27-27:33 | 599 | fixity02.lc 27:27-27:33 |
600 | forall a b . a -> b -> a | 600 | forall a b . a -> b -> a |
601 | testdata/language-features/basic-values/fixity02.lc 27:34-27:38 | 601 | fixity02.lc 27:34-27:38 |
602 | String | 602 | String |
603 | testdata/language-features/basic-values/fixity02.lc 27:34-27:45 | 603 | fixity02.lc 27:34-27:45 |
604 | _a -> String | 604 | _a -> String |
605 | testdata/language-features/basic-values/fixity02.lc 27:34-27:49 | 605 | fixity02.lc 27:34-27:49 |
606 | String | 606 | String |
607 | testdata/language-features/basic-values/fixity02.lc 27:39-27:45 | 607 | fixity02.lc 27:39-27:45 |
608 | forall a b . a -> b -> a | 608 | forall a b . a -> b -> a |
609 | testdata/language-features/basic-values/fixity02.lc 27:46-27:49 | 609 | fixity02.lc 27:46-27:49 |
610 | Float | 610 | Float |
611 | testdata/language-features/basic-values/fixity02.lc 27:53-27:55 | 611 | fixity02.lc 27:53-27:55 |
612 | Type \ No newline at end of file | 612 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/if01.out b/testdata/language-features/basic-values/if01.out index 82fdb2ff..2af98d71 100644 --- a/testdata/language-features/basic-values/if01.out +++ b/testdata/language-features/basic-values/if01.out | |||
@@ -10,27 +10,27 @@ value1 = _rhs () | |||
10 | value2 :: Float | 10 | value2 :: Float |
11 | value2 = _rhs 2.0 | 11 | value2 = _rhs 2.0 |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/if01.lc 1:1-1:7 | 13 | if01.lc 1:1-1:7 |
14 | () | 14 | () |
15 | testdata/language-features/basic-values/if01.lc 1:10-1:33 | 15 | if01.lc 1:10-1:33 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/if01.lc 1:13-1:17 | 17 | if01.lc 1:13-1:17 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/basic-values/if01.lc 1:13-1:25 | 19 | if01.lc 1:13-1:25 |
20 | () -> () | 20 | () -> () |
21 | testdata/language-features/basic-values/if01.lc 1:23-1:25 | 21 | if01.lc 1:23-1:25 |
22 | () | 22 | () |
23 | testdata/language-features/basic-values/if01.lc 1:31-1:33 | 23 | if01.lc 1:31-1:33 |
24 | () | 24 | () |
25 | testdata/language-features/basic-values/if01.lc 2:1-2:7 | 25 | if01.lc 2:1-2:7 |
26 | Float | 26 | Float |
27 | testdata/language-features/basic-values/if01.lc 2:10-2:36 | 27 | if01.lc 2:10-2:36 |
28 | Float | 28 | Float |
29 | testdata/language-features/basic-values/if01.lc 2:13-2:18 | 29 | if01.lc 2:13-2:18 |
30 | Bool | 30 | Bool |
31 | testdata/language-features/basic-values/if01.lc 2:13-2:27 | 31 | if01.lc 2:13-2:27 |
32 | Float -> Float | 32 | Float -> Float |
33 | testdata/language-features/basic-values/if01.lc 2:24-2:27 | 33 | if01.lc 2:24-2:27 |
34 | Float | 34 | Float |
35 | testdata/language-features/basic-values/if01.lc 2:33-2:36 | 35 | if01.lc 2:33-2:36 |
36 | Float \ No newline at end of file | 36 | Float \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/if03.reject.out b/testdata/language-features/basic-values/if03.reject.out index 69873d2d..a5e1f6f9 100644 --- a/testdata/language-features/basic-values/if03.reject.out +++ b/testdata/language-features/basic-values/if03.reject.out | |||
@@ -1,22 +1,22 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 2 | 'Internals.lc:63:6: |
3 | data Bool = False | True | 3 | data Bool = False | True |
4 | ^^^^ | 4 | ^^^^ |
5 | with | 5 | with |
6 | () | 6 | () |
7 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 7 | in if03.reject.lc:1:13: |
8 | value1 = if () then () else () | 8 | value1 = if () then () else () |
9 | ^^ | 9 | ^^ |
10 | ------------ trace | 10 | ------------ trace |
11 | !type error: can not unify | 11 | !type error: can not unify |
12 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 12 | 'Internals.lc:63:6: |
13 | data Bool = False | True | 13 | data Bool = False | True |
14 | ^^^^ | 14 | ^^^^ |
15 | with | 15 | with |
16 | () | 16 | () |
17 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 17 | in if03.reject.lc:1:13: |
18 | value1 = if () then () else () | 18 | value1 = if () then () else () |
19 | ^^ | 19 | ^^ |
20 | ------------ tooltips | 20 | ------------ tooltips |
21 | testdata/language-features/basic-values/if03.reject.lc 1:13-1:15 | 21 | if03.reject.lc 1:13-1:15 |
22 | () \ No newline at end of file | 22 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/if04.reject.out b/testdata/language-features/basic-values/if04.reject.out index 8bfc6d13..2a6b7bb5 100644 --- a/testdata/language-features/basic-values/if04.reject.out +++ b/testdata/language-features/basic-values/if04.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | () | 2 | () |
3 | with | 3 | with |
4 | Char | 4 | Char |
5 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 5 | in if04.reject.lc:1:31: |
6 | value1 = if True then () else '_' | 6 | value1 = if True then () else '_' |
7 | ^^^ | 7 | ^^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,15 +10,15 @@ value1 = if True then () else '_' | |||
10 | () | 10 | () |
11 | with | 11 | with |
12 | Char | 12 | Char |
13 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 13 | in if04.reject.lc:1:31: |
14 | value1 = if True then () else '_' | 14 | value1 = if True then () else '_' |
15 | ^^^ | 15 | ^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:17 | 17 | if04.reject.lc 1:13-1:17 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:25 | 19 | if04.reject.lc 1:13-1:25 |
20 | () -> () | 20 | () -> () |
21 | testdata/language-features/basic-values/if04.reject.lc 1:23-1:25 | 21 | if04.reject.lc 1:23-1:25 |
22 | () | 22 | () |
23 | testdata/language-features/basic-values/if04.reject.lc 1:31-1:34 | 23 | if04.reject.lc 1:31-1:34 |
24 | Char \ No newline at end of file | 24 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/indentation01.out b/testdata/language-features/basic-values/indentation01.out index f1d98545..d6efa98a 100644 --- a/testdata/language-features/basic-values/indentation01.out +++ b/testdata/language-features/basic-values/indentation01.out | |||
@@ -10,11 +10,11 @@ tuple1 = _rhs () | |||
10 | tuple2 :: () | 10 | tuple2 :: () |
11 | tuple2 = _rhs () | 11 | tuple2 = _rhs () |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/indentation01.lc 1:1-1:7 | 13 | indentation01.lc 1:1-1:7 |
14 | () | 14 | () |
15 | testdata/language-features/basic-values/indentation01.lc 1:10-1:12 | 15 | indentation01.lc 1:10-1:12 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/indentation01.lc 2:1-2:7 | 17 | indentation01.lc 2:1-2:7 |
18 | () | 18 | () |
19 | testdata/language-features/basic-values/indentation01.lc 2:10-2:12 | 19 | indentation01.lc 2:10-2:12 |
20 | () \ No newline at end of file | 20 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/indentation02.out b/testdata/language-features/basic-values/indentation02.out index 0b686d97..e90c05ad 100644 --- a/testdata/language-features/basic-values/indentation02.out +++ b/testdata/language-features/basic-values/indentation02.out | |||
@@ -10,11 +10,11 @@ tuple1 = _rhs () | |||
10 | tuple2 :: () | 10 | tuple2 :: () |
11 | tuple2 = _rhs () | 11 | tuple2 = _rhs () |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/indentation02.lc 1:3-1:9 | 13 | indentation02.lc 1:3-1:9 |
14 | () | 14 | () |
15 | testdata/language-features/basic-values/indentation02.lc 1:12-1:14 | 15 | indentation02.lc 1:12-1:14 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/indentation02.lc 2:3-2:9 | 17 | indentation02.lc 2:3-2:9 |
18 | () | 18 | () |
19 | testdata/language-features/basic-values/indentation02.lc 2:12-2:14 | 19 | indentation02.lc 2:12-2:14 |
20 | () \ No newline at end of file | 20 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/infix01.out b/testdata/language-features/basic-values/infix01.out index 55d5dad5..a54cfa5c 100644 --- a/testdata/language-features/basic-values/infix01.out +++ b/testdata/language-features/basic-values/infix01.out | |||
@@ -10,19 +10,19 @@ fun = \a b _ _ -> _rhs () | |||
10 | value :: forall a b . a -> b -> () | 10 | value :: forall a b . a -> b -> () |
11 | value = \a b _ _ -> _rhs () | 11 | value = \a b _ _ -> _rhs () |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/infix01.lc 1:1-1:4 | 13 | infix01.lc 1:1-1:4 |
14 | forall a b . a -> b -> () | 14 | forall a b . a -> b -> () |
15 | testdata/language-features/basic-values/infix01.lc 1:11-1:13 | 15 | infix01.lc 1:11-1:13 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/infix01.lc 3:1-3:6 | 17 | infix01.lc 3:1-3:6 |
18 | forall a b . a -> b -> () | 18 | forall a b . a -> b -> () |
19 | testdata/language-features/basic-values/infix01.lc 3:13-3:14 | 19 | infix01.lc 3:13-3:14 |
20 | _f | 20 | _f |
21 | testdata/language-features/basic-values/infix01.lc 3:13-3:20 | 21 | infix01.lc 3:13-3:20 |
22 | _a -> () | 22 | _a -> () |
23 | testdata/language-features/basic-values/infix01.lc 3:13-3:22 | 23 | infix01.lc 3:13-3:22 |
24 | () | 24 | () |
25 | testdata/language-features/basic-values/infix01.lc 3:15-3:20 | 25 | infix01.lc 3:15-3:20 |
26 | forall a b . a -> b -> () | 26 | forall a b . a -> b -> () |
27 | testdata/language-features/basic-values/infix01.lc 3:21-3:22 | 27 | infix01.lc 3:21-3:22 |
28 | _c \ No newline at end of file | 28 | _c \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/infix02.out b/testdata/language-features/basic-values/infix02.out index c32a0ce7..60daa154 100644 --- a/testdata/language-features/basic-values/infix02.out +++ b/testdata/language-features/basic-values/infix02.out | |||
@@ -10,19 +10,19 @@ fun = \a b c _ _ _ -> _rhs () | |||
10 | value :: forall a b c . a -> b -> c -> () | 10 | value :: forall a b c . a -> b -> c -> () |
11 | value = \a b c d e -> _rhs (fun d e) | 11 | value = \a b c d e -> _rhs (fun d e) |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/infix02.lc 1:1-1:4 | 13 | infix02.lc 1:1-1:4 |
14 | forall a b c . a -> b -> c -> () | 14 | forall a b c . a -> b -> c -> () |
15 | testdata/language-features/basic-values/infix02.lc 1:13-1:15 | 15 | infix02.lc 1:13-1:15 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/infix02.lc 3:1-3:6 | 17 | infix02.lc 3:1-3:6 |
18 | forall a b c . a -> b -> c -> () | 18 | forall a b c . a -> b -> c -> () |
19 | testdata/language-features/basic-values/infix02.lc 3:13-3:14 | 19 | infix02.lc 3:13-3:14 |
20 | _g | 20 | _g |
21 | testdata/language-features/basic-values/infix02.lc 3:13-3:20 | 21 | infix02.lc 3:13-3:20 |
22 | _b -> _a -> () | 22 | _b -> _a -> () |
23 | testdata/language-features/basic-values/infix02.lc 3:13-3:22 | 23 | infix02.lc 3:13-3:22 |
24 | _a -> () | 24 | _a -> () |
25 | testdata/language-features/basic-values/infix02.lc 3:15-3:20 | 25 | infix02.lc 3:15-3:20 |
26 | forall a b c . a -> b -> c -> () | 26 | forall a b c . a -> b -> c -> () |
27 | testdata/language-features/basic-values/infix02.lc 3:21-3:22 | 27 | infix02.lc 3:21-3:22 |
28 | _d \ No newline at end of file | 28 | _d \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/infix03.out b/testdata/language-features/basic-values/infix03.out index 9d3aa812..6d105103 100644 --- a/testdata/language-features/basic-values/infix03.out +++ b/testdata/language-features/basic-values/infix03.out | |||
@@ -33,49 +33,49 @@ d3 = \a b -> _rhs (D3 a b) | |||
33 | match'D :: forall (a :: Type -> Type) -> a D -> forall b -> a b -> a b | 33 | match'D :: forall (a :: Type -> Type) -> a D -> forall b -> a b -> a b |
34 | match'D = \a b c d -> <<type case function>> | 34 | match'D = \a b c d -> <<type case function>> |
35 | ------------ tooltips | 35 | ------------ tooltips |
36 | testdata/language-features/basic-values/infix03.lc 1:6-1:7 | 36 | infix03.lc 1:6-1:7 |
37 | Type | Type | Type | Type | Type | Type | Type | Type | 37 | Type | Type | Type | Type | Type | Type | Type | Type |
38 | testdata/language-features/basic-values/infix03.lc 1:6-1:18 | 38 | infix03.lc 1:6-1:18 |
39 | Type | 39 | Type |
40 | testdata/language-features/basic-values/infix03.lc 1:6-2:12 | 40 | infix03.lc 1:6-2:12 |
41 | Type | Type | 41 | Type | Type |
42 | testdata/language-features/basic-values/infix03.lc 1:6-2:21 | 42 | infix03.lc 1:6-2:21 |
43 | Type | Type | 43 | Type | Type |
44 | testdata/language-features/basic-values/infix03.lc 1:10-1:12 | 44 | infix03.lc 1:10-1:12 |
45 | () -> () -> D | D | Type | Type | Type | 45 | () -> () -> D | D | Type | Type | Type |
46 | testdata/language-features/basic-values/infix03.lc 1:13-1:15 | 46 | infix03.lc 1:13-1:15 |
47 | Type | 47 | Type |
48 | testdata/language-features/basic-values/infix03.lc 1:16-1:18 | 48 | infix03.lc 1:16-1:18 |
49 | Type | 49 | Type |
50 | testdata/language-features/basic-values/infix03.lc 2:10-2:12 | 50 | infix03.lc 2:10-2:12 |
51 | () -> () -> () -> D | D | Type | Type | Type | Type | 51 | () -> () -> () -> D | D | Type | Type | Type | Type |
52 | testdata/language-features/basic-values/infix03.lc 2:13-2:15 | 52 | infix03.lc 2:13-2:15 |
53 | Type | 53 | Type |
54 | testdata/language-features/basic-values/infix03.lc 2:16-2:18 | 54 | infix03.lc 2:16-2:18 |
55 | Type | 55 | Type |
56 | testdata/language-features/basic-values/infix03.lc 2:19-2:21 | 56 | infix03.lc 2:19-2:21 |
57 | Type | 57 | Type |
58 | testdata/language-features/basic-values/infix03.lc 4:1-4:3 | 58 | infix03.lc 4:1-4:3 |
59 | () -> () -> D | 59 | () -> () -> D |
60 | testdata/language-features/basic-values/infix03.lc 4:10-4:11 | 60 | infix03.lc 4:10-4:11 |
61 | _d | 61 | _d |
62 | testdata/language-features/basic-values/infix03.lc 4:10-4:16 | 62 | infix03.lc 4:10-4:16 |
63 | () -> D | 63 | () -> D |
64 | testdata/language-features/basic-values/infix03.lc 4:10-4:18 | 64 | infix03.lc 4:10-4:18 |
65 | D | 65 | D |
66 | testdata/language-features/basic-values/infix03.lc 4:12-4:16 | 66 | infix03.lc 4:12-4:16 |
67 | () -> () -> D | 67 | () -> () -> D |
68 | testdata/language-features/basic-values/infix03.lc 4:17-4:18 | 68 | infix03.lc 4:17-4:18 |
69 | _b | 69 | _b |
70 | testdata/language-features/basic-values/infix03.lc 6:1-6:3 | 70 | infix03.lc 6:1-6:3 |
71 | () -> () -> () -> D | 71 | () -> () -> () -> D |
72 | testdata/language-features/basic-values/infix03.lc 6:10-6:11 | 72 | infix03.lc 6:10-6:11 |
73 | _d | 73 | _d |
74 | testdata/language-features/basic-values/infix03.lc 6:10-6:16 | 74 | infix03.lc 6:10-6:16 |
75 | () -> () -> D | 75 | () -> () -> D |
76 | testdata/language-features/basic-values/infix03.lc 6:10-6:18 | 76 | infix03.lc 6:10-6:18 |
77 | () -> D | 77 | () -> D |
78 | testdata/language-features/basic-values/infix03.lc 6:12-6:16 | 78 | infix03.lc 6:12-6:16 |
79 | () -> () -> () -> D | 79 | () -> () -> () -> D |
80 | testdata/language-features/basic-values/infix03.lc 6:17-6:18 | 80 | infix03.lc 6:17-6:18 |
81 | _b \ No newline at end of file | 81 | _b \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/lambda01.out b/testdata/language-features/basic-values/lambda01.out index 1476c47f..0a959710 100644 --- a/testdata/language-features/basic-values/lambda01.out +++ b/testdata/language-features/basic-values/lambda01.out | |||
@@ -27,19 +27,19 @@ fun4 | |||
27 | :: forall a b c d e f g h i . a -> b -> c -> d -> e -> f -> g -> h -> i -> () | 27 | :: forall a b c d e f g h i . a -> b -> c -> d -> e -> f -> g -> h -> i -> () |
28 | fun4 = \a b c d e f g h i -> _rhs \_ _ _ _ _ _ _ _ _ -> () | 28 | fun4 = \a b c d e f g h i -> _rhs \_ _ _ _ _ _ _ _ _ -> () |
29 | ------------ tooltips | 29 | ------------ tooltips |
30 | testdata/language-features/basic-values/lambda01.lc 1:1-1:5 | 30 | lambda01.lc 1:1-1:5 |
31 | forall a . a -> () | 31 | forall a . a -> () |
32 | testdata/language-features/basic-values/lambda01.lc 1:14-1:16 | 32 | lambda01.lc 1:14-1:16 |
33 | () | 33 | () |
34 | testdata/language-features/basic-values/lambda01.lc 2:1-2:5 | 34 | lambda01.lc 2:1-2:5 |
35 | forall a . a -> () | 35 | forall a . a -> () |
36 | testdata/language-features/basic-values/lambda01.lc 2:15-2:17 | 36 | lambda01.lc 2:15-2:17 |
37 | () | 37 | () |
38 | testdata/language-features/basic-values/lambda01.lc 3:1-3:5 | 38 | lambda01.lc 3:1-3:5 |
39 | forall a . a -> () | 39 | forall a . a -> () |
40 | testdata/language-features/basic-values/lambda01.lc 3:13-3:15 | 40 | lambda01.lc 3:13-3:15 |
41 | () | 41 | () |
42 | testdata/language-features/basic-values/lambda01.lc 4:1-4:5 | 42 | lambda01.lc 4:1-4:5 |
43 | forall a b c d e f g h i . a -> b -> c -> d -> e -> f -> g -> h -> i -> () | 43 | forall a b c d e f g h i . a -> b -> c -> d -> e -> f -> g -> h -> i -> () |
44 | testdata/language-features/basic-values/lambda01.lc 5:28-5:30 | 44 | lambda01.lc 5:28-5:30 |
45 | () \ No newline at end of file | 45 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/lambda03.out b/testdata/language-features/basic-values/lambda03.out index 50af2ae5..a50ed0d0 100644 --- a/testdata/language-features/basic-values/lambda03.out +++ b/testdata/language-features/basic-values/lambda03.out | |||
@@ -10,11 +10,11 @@ fun1 = \a b c -> _rhs \_ d _ -> d | |||
10 | fun2 :: forall a b c d . a -> b -> c -> d -> a | 10 | fun2 :: forall a b c d . a -> b -> c -> d -> a |
11 | fun2 = \a b c d e -> _rhs \_ _ _ -> e | 11 | fun2 = \a b c d e -> _rhs \_ _ _ -> e |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/lambda03.lc 1:1-1:5 | 13 | lambda03.lc 1:1-1:5 |
14 | forall a b c . a -> b -> c -> b | 14 | forall a b c . a -> b -> c -> b |
15 | testdata/language-features/basic-values/lambda03.lc 1:22-1:23 | 15 | lambda03.lc 1:22-1:23 |
16 | _d | 16 | _d |
17 | testdata/language-features/basic-values/lambda03.lc 2:1-2:5 | 17 | lambda03.lc 2:1-2:5 |
18 | forall a b c d . a -> b -> c -> d -> a | 18 | forall a b c d . a -> b -> c -> d -> a |
19 | testdata/language-features/basic-values/lambda03.lc 2:25-2:26 | 19 | lambda03.lc 2:25-2:26 |
20 | _h \ No newline at end of file | 20 | _h \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/let01.out b/testdata/language-features/basic-values/let01.out index bd59a558..1d5684fc 100644 --- a/testdata/language-features/basic-values/let01.out +++ b/testdata/language-features/basic-values/let01.out | |||
@@ -25,37 +25,37 @@ value4 = \a b -> _rhs (fromInt a b 1) | |||
25 | value5 :: forall a . Num a => a | 25 | value5 :: forall a . Num a => a |
26 | value5 = \a b -> _rhs (fromInt a b 1) | 26 | value5 = \a b -> _rhs (fromInt a b 1) |
27 | ------------ tooltips | 27 | ------------ tooltips |
28 | testdata/language-features/basic-values/let01.lc 1:1-1:7 | 28 | let01.lc 1:1-1:7 |
29 | forall a . Num a => a | 29 | forall a . Num a => a |
30 | testdata/language-features/basic-values/let01.lc 1:18-1:19 | 30 | let01.lc 1:18-1:19 |
31 | _b | 31 | _b |
32 | testdata/language-features/basic-values/let01.lc 1:23-1:24 | 32 | let01.lc 1:23-1:24 |
33 | _b | 33 | _b |
34 | testdata/language-features/basic-values/let01.lc 3:1-3:7 | 34 | let01.lc 3:1-3:7 |
35 | forall a . Num a => a | 35 | forall a . Num a => a |
36 | testdata/language-features/basic-values/let01.lc 4:11-4:12 | 36 | let01.lc 4:11-4:12 |
37 | _b | 37 | _b |
38 | testdata/language-features/basic-values/let01.lc 5:6-5:7 | 38 | let01.lc 5:6-5:7 |
39 | _b | 39 | _b |
40 | testdata/language-features/basic-values/let01.lc 7:1-7:7 | 40 | let01.lc 7:1-7:7 |
41 | forall a . Num a => a | 41 | forall a . Num a => a |
42 | testdata/language-features/basic-values/let01.lc 8:11-8:12 | 42 | let01.lc 8:11-8:12 |
43 | _b | 43 | _b |
44 | testdata/language-features/basic-values/let01.lc 9:11-9:14 | 44 | let01.lc 9:11-9:14 |
45 | Char | 45 | Char |
46 | testdata/language-features/basic-values/let01.lc 10:6-10:7 | 46 | let01.lc 10:6-10:7 |
47 | _b | 47 | _b |
48 | testdata/language-features/basic-values/let01.lc 12:1-12:7 | 48 | let01.lc 12:1-12:7 |
49 | forall a . Num a => a | 49 | forall a . Num a => a |
50 | testdata/language-features/basic-values/let01.lc 12:18-12:19 | 50 | let01.lc 12:18-12:19 |
51 | _b | 51 | _b |
52 | testdata/language-features/basic-values/let01.lc 13:13-13:14 | 52 | let01.lc 13:13-13:14 |
53 | _b | 53 | _b |
54 | testdata/language-features/basic-values/let01.lc 15:1-15:7 | 54 | let01.lc 15:1-15:7 |
55 | forall a . Num a => a | 55 | forall a . Num a => a |
56 | testdata/language-features/basic-values/let01.lc 15:18-15:19 | 56 | let01.lc 15:18-15:19 |
57 | _b | 57 | _b |
58 | testdata/language-features/basic-values/let01.lc 16:18-16:19 | 58 | let01.lc 16:18-16:19 |
59 | _b | 59 | _b |
60 | testdata/language-features/basic-values/let01.lc 17:13-17:14 | 60 | let01.lc 17:13-17:14 |
61 | _b \ No newline at end of file | 61 | _b \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/let02.out b/testdata/language-features/basic-values/let02.out index 574a8d36..7ac6a6d8 100644 --- a/testdata/language-features/basic-values/let02.out +++ b/testdata/language-features/basic-values/let02.out | |||
@@ -11,21 +11,21 @@ value | |||
11 | value :: () | 11 | value :: () |
12 | value = _rhs () | 12 | value = _rhs () |
13 | ------------ tooltips | 13 | ------------ tooltips |
14 | testdata/language-features/basic-values/let02.lc 1:1-1:6 | 14 | let02.lc 1:1-1:6 |
15 | () | 15 | () |
16 | testdata/language-features/basic-values/let02.lc 2:11-2:13 | 16 | let02.lc 2:11-2:13 |
17 | () | 17 | () |
18 | testdata/language-features/basic-values/let02.lc 3:19-3:22 | 18 | let02.lc 3:19-3:22 |
19 | Char | 19 | Char |
20 | testdata/language-features/basic-values/let02.lc 3:26-3:28 | 20 | let02.lc 3:26-3:28 |
21 | () | 21 | () |
22 | testdata/language-features/basic-values/let02.lc 5:17-5:19 | 22 | let02.lc 5:17-5:19 |
23 | () | 23 | () |
24 | testdata/language-features/basic-values/let02.lc 6:17-6:18 | 24 | let02.lc 6:17-6:18 |
25 | _b | 25 | _b |
26 | testdata/language-features/basic-values/let02.lc 7:17-7:24 | 26 | let02.lc 7:17-7:24 |
27 | String | 27 | String |
28 | testdata/language-features/basic-values/let02.lc 8:12-8:15 | 28 | let02.lc 8:12-8:15 |
29 | Char | 29 | Char |
30 | testdata/language-features/basic-values/let02.lc 9:6-9:8 | 30 | let02.lc 9:6-9:8 |
31 | () \ No newline at end of file | 31 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/literal01.out b/testdata/language-features/basic-values/literal01.out index 4eca17da..d7964d5e 100644 --- a/testdata/language-features/basic-values/literal01.out +++ b/testdata/language-features/basic-values/literal01.out | |||
@@ -40,35 +40,35 @@ stringValue1 = _rhs "Hello World" | |||
40 | stringValue2 :: String | 40 | stringValue2 :: String |
41 | stringValue2 = _rhs "\nHello World\tagain!\r\n" | 41 | stringValue2 = _rhs "\nHello World\tagain!\r\n" |
42 | ------------ tooltips | 42 | ------------ tooltips |
43 | testdata/language-features/basic-values/literal01.lc 1:1-1:10 | 43 | literal01.lc 1:1-1:10 |
44 | forall a . Num a => a | 44 | forall a . Num a => a |
45 | testdata/language-features/basic-values/literal01.lc 1:13-1:14 | 45 | literal01.lc 1:13-1:14 |
46 | _b | 46 | _b |
47 | testdata/language-features/basic-values/literal01.lc 2:1-2:10 | 47 | literal01.lc 2:1-2:10 |
48 | forall a . Num a => a | 48 | forall a . Num a => a |
49 | testdata/language-features/basic-values/literal01.lc 2:13-2:14 | 49 | literal01.lc 2:13-2:14 |
50 | _b | 50 | _b |
51 | testdata/language-features/basic-values/literal01.lc 3:1-3:10 | 51 | literal01.lc 3:1-3:10 |
52 | forall a . Num a => a | 52 | forall a . Num a => a |
53 | testdata/language-features/basic-values/literal01.lc 3:13-3:18 | 53 | literal01.lc 3:13-3:18 |
54 | _b | 54 | _b |
55 | testdata/language-features/basic-values/literal01.lc 5:1-5:12 | 55 | literal01.lc 5:1-5:12 |
56 | Float | 56 | Float |
57 | testdata/language-features/basic-values/literal01.lc 5:15-5:18 | 57 | literal01.lc 5:15-5:18 |
58 | Float | 58 | Float |
59 | testdata/language-features/basic-values/literal01.lc 6:1-6:12 | 59 | literal01.lc 6:1-6:12 |
60 | Float | 60 | Float |
61 | testdata/language-features/basic-values/literal01.lc 6:15-6:22 | 61 | literal01.lc 6:15-6:22 |
62 | Float | 62 | Float |
63 | testdata/language-features/basic-values/literal01.lc 8:1-8:10 | 63 | literal01.lc 8:1-8:10 |
64 | Char | 64 | Char |
65 | testdata/language-features/basic-values/literal01.lc 8:13-8:16 | 65 | literal01.lc 8:13-8:16 |
66 | Char | 66 | Char |
67 | testdata/language-features/basic-values/literal01.lc 10:1-10:13 | 67 | literal01.lc 10:1-10:13 |
68 | String | 68 | String |
69 | testdata/language-features/basic-values/literal01.lc 10:16-10:29 | 69 | literal01.lc 10:16-10:29 |
70 | String | 70 | String |
71 | testdata/language-features/basic-values/literal01.lc 11:1-11:13 | 71 | literal01.lc 11:1-11:13 |
72 | String | 72 | String |
73 | testdata/language-features/basic-values/literal01.lc 11:16-11:45 | 73 | literal01.lc 11:16-11:45 |
74 | String \ No newline at end of file | 74 | String \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator01.out b/testdata/language-features/basic-values/operator01.out index 817d1b5f..0a4d4546 100644 --- a/testdata/language-features/basic-values/operator01.out +++ b/testdata/language-features/basic-values/operator01.out | |||
@@ -20,19 +20,19 @@ $$$ = \a b _ _ -> _rhs () | |||
20 | $$$# :: forall a b . a -> b -> () | 20 | $$$# :: forall a b . a -> b -> () |
21 | $$$# = \a b _ _ -> _rhs () | 21 | $$$# = \a b _ _ -> _rhs () |
22 | ------------ tooltips | 22 | ------------ tooltips |
23 | testdata/language-features/basic-values/operator01.lc 1:3-1:6 | 23 | operator01.lc 1:3-1:6 |
24 | forall a b . a -> b -> () | 24 | forall a b . a -> b -> () |
25 | testdata/language-features/basic-values/operator01.lc 1:11-1:13 | 25 | operator01.lc 1:11-1:13 |
26 | () | 26 | () |
27 | testdata/language-features/basic-values/operator01.lc 3:3-3:6 | 27 | operator01.lc 3:3-3:6 |
28 | forall a b . a -> b -> () | 28 | forall a b . a -> b -> () |
29 | testdata/language-features/basic-values/operator01.lc 3:8-3:10 | 29 | operator01.lc 3:8-3:10 |
30 | () | 30 | () |
31 | testdata/language-features/basic-values/operator01.lc 5:3-5:7 | 31 | operator01.lc 5:3-5:7 |
32 | forall a b . a -> b -> () | 32 | forall a b . a -> b -> () |
33 | testdata/language-features/basic-values/operator01.lc 6:3-6:5 | 33 | operator01.lc 6:3-6:5 |
34 | () | 34 | () |
35 | testdata/language-features/basic-values/operator01.lc 8:3-8:6 | 35 | operator01.lc 8:3-8:6 |
36 | forall a b . a -> b -> () | 36 | forall a b . a -> b -> () |
37 | testdata/language-features/basic-values/operator01.lc 8:11-8:13 | 37 | operator01.lc 8:11-8:13 |
38 | () \ No newline at end of file | 38 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator02.reject.out b/testdata/language-features/basic-values/operator02.reject.out index 38f5992c..d45a726c 100644 --- a/testdata/language-features/basic-values/operator02.reject.out +++ b/testdata/language-features/basic-values/operator02.reject.out | |||
@@ -1,29 +1,29 @@ | |||
1 | already defined #$# at testdata/language-features/basic-values/operator02.reject.lc:3:3: | 1 | already defined #$# at operator02.reject.lc:3:3: |
2 | a #$# b = () | 2 | a #$# b = () |
3 | ^^^ | 3 | ^^^ |
4 | and at testdata/language-features/basic-values/operator02.reject.lc:1:3: | 4 | and at operator02.reject.lc:1:3: |
5 | a #$# b = () | 5 | a #$# b = () |
6 | ^^^ | 6 | ^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | (#$#) :: forall a b . a -> b -> () | 8 | (#$#) :: forall a b . a -> b -> () |
9 | fun :: forall a . a -> () | 9 | fun :: forall a . a -> () |
10 | (#$#) :: forall a b . a -> b -> () | 10 | (#$#) :: forall a b . a -> b -> () |
11 | !already defined #$# at testdata/language-features/basic-values/operator02.reject.lc:3:3: | 11 | !already defined #$# at operator02.reject.lc:3:3: |
12 | a #$# b = () | 12 | a #$# b = () |
13 | ^^^ | 13 | ^^^ |
14 | and at testdata/language-features/basic-values/operator02.reject.lc:1:3: | 14 | and at operator02.reject.lc:1:3: |
15 | a #$# b = () | 15 | a #$# b = () |
16 | ^^^ | 16 | ^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/operator02.reject.lc 1:3-1:6 | 18 | operator02.reject.lc 1:3-1:6 |
19 | forall a b . a -> b -> () | 19 | forall a b . a -> b -> () |
20 | testdata/language-features/basic-values/operator02.reject.lc 1:11-1:13 | 20 | operator02.reject.lc 1:11-1:13 |
21 | () | 21 | () |
22 | testdata/language-features/basic-values/operator02.reject.lc 2:1-2:4 | 22 | operator02.reject.lc 2:1-2:4 |
23 | forall a . a -> () | 23 | forall a . a -> () |
24 | testdata/language-features/basic-values/operator02.reject.lc 2:9-2:11 | 24 | operator02.reject.lc 2:9-2:11 |
25 | () | 25 | () |
26 | testdata/language-features/basic-values/operator02.reject.lc 3:3-3:6 | 26 | operator02.reject.lc 3:3-3:6 |
27 | forall a b . a -> b -> () | 27 | forall a b . a -> b -> () |
28 | testdata/language-features/basic-values/operator02.reject.lc 3:11-3:13 | 28 | operator02.reject.lc 3:11-3:13 |
29 | () \ No newline at end of file | 29 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator05.out b/testdata/language-features/basic-values/operator05.out index c8f2cbc8..cc714c3a 100644 --- a/testdata/language-features/basic-values/operator05.out +++ b/testdata/language-features/basic-values/operator05.out | |||
@@ -6,17 +6,17 @@ value1 | |||
6 | value1 :: () | 6 | value1 :: () |
7 | value1 = _rhs () | 7 | value1 = _rhs () |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/basic-values/operator05.lc 1:1-1:7 | 9 | operator05.lc 1:1-1:7 |
10 | () | 10 | () |
11 | testdata/language-features/basic-values/operator05.lc 1:24-1:26 | 11 | operator05.lc 1:24-1:26 |
12 | () | 12 | () |
13 | testdata/language-features/basic-values/operator05.lc 2:13-2:15 | 13 | operator05.lc 2:13-2:15 |
14 | () | 14 | () |
15 | testdata/language-features/basic-values/operator05.lc 2:13-2:19 | 15 | operator05.lc 2:13-2:19 |
16 | _a -> () | 16 | _a -> () |
17 | testdata/language-features/basic-values/operator05.lc 2:13-2:22 | 17 | operator05.lc 2:13-2:22 |
18 | () | 18 | () |
19 | testdata/language-features/basic-values/operator05.lc 2:16-2:19 | 19 | operator05.lc 2:16-2:19 |
20 | forall a b . a -> b -> () | 20 | forall a b . a -> b -> () |
21 | testdata/language-features/basic-values/operator05.lc 2:20-2:22 | 21 | operator05.lc 2:20-2:22 |
22 | () \ No newline at end of file | 22 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator06.out b/testdata/language-features/basic-values/operator06.out index 84f75660..de7def09 100644 --- a/testdata/language-features/basic-values/operator06.out +++ b/testdata/language-features/basic-values/operator06.out | |||
@@ -6,17 +6,17 @@ value1 | |||
6 | value1 :: () | 6 | value1 :: () |
7 | value1 = _rhs () | 7 | value1 = _rhs () |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/basic-values/operator06.lc 1:1-1:7 | 9 | operator06.lc 1:1-1:7 |
10 | () | 10 | () |
11 | testdata/language-features/basic-values/operator06.lc 1:10-1:12 | 11 | operator06.lc 1:10-1:12 |
12 | () | 12 | () |
13 | testdata/language-features/basic-values/operator06.lc 1:10-1:16 | 13 | operator06.lc 1:10-1:16 |
14 | _a -> () | 14 | _a -> () |
15 | testdata/language-features/basic-values/operator06.lc 1:10-1:19 | 15 | operator06.lc 1:10-1:19 |
16 | () | 16 | () |
17 | testdata/language-features/basic-values/operator06.lc 1:13-1:16 | 17 | operator06.lc 1:13-1:16 |
18 | forall a b . a -> b -> () | 18 | forall a b . a -> b -> () |
19 | testdata/language-features/basic-values/operator06.lc 1:17-1:19 | 19 | operator06.lc 1:17-1:19 |
20 | () | 20 | () |
21 | testdata/language-features/basic-values/operator06.lc 2:19-2:21 | 21 | operator06.lc 2:19-2:21 |
22 | () \ No newline at end of file | 22 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator07.reject.out b/testdata/language-features/basic-values/operator07.reject.out index bc594c9e..c2452fc4 100644 --- a/testdata/language-features/basic-values/operator07.reject.out +++ b/testdata/language-features/basic-values/operator07.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | Operator precedences don't match: | 1 | Operator precedences don't match: |
2 | infix 5 at testdata/language-features/basic-values/operator07.reject.lc:11:11: | 2 | infix 5 at operator07.reject.lc:11:11: |
3 | main = () @&> () <@& () | 3 | main = () @&> () <@& () |
4 | ^^^ | 4 | ^^^ |
5 | infixl 5 at testdata/language-features/basic-values/operator07.reject.lc:11:18: | 5 | infixl 5 at operator07.reject.lc:11:18: |
6 | main = () @&> () <@& () | 6 | main = () @&> () <@& () |
7 | ^^^ | 7 | ^^^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/operator08.reject.out b/testdata/language-features/basic-values/operator08.reject.out index eb50a28a..85b9a762 100644 --- a/testdata/language-features/basic-values/operator08.reject.out +++ b/testdata/language-features/basic-values/operator08.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | Operator precedences don't match: | 1 | Operator precedences don't match: |
2 | infix 5 at testdata/language-features/basic-values/operator08.reject.lc:10:6: | 2 | infix 5 at operator08.reject.lc:10:6: |
3 | x = (@&> () <@& ()) | 3 | x = (@&> () <@& ()) |
4 | ^^^ | 4 | ^^^ |
5 | infixl 5 at testdata/language-features/basic-values/operator08.reject.lc:10:13: | 5 | infixl 5 at operator08.reject.lc:10:13: |
6 | x = (@&> () <@& ()) | 6 | x = (@&> () <@& ()) |
7 | ^^^ | 7 | ^^^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/redefine01.reject.out b/testdata/language-features/basic-values/redefine01.reject.out index e0204f0e..8f8e4dd2 100644 --- a/testdata/language-features/basic-values/redefine01.reject.out +++ b/testdata/language-features/basic-values/redefine01.reject.out | |||
@@ -1,29 +1,29 @@ | |||
1 | already defined unit at testdata/language-features/basic-values/redefine01.reject.lc:3:1: | 1 | already defined unit at redefine01.reject.lc:3:1: |
2 | unit = () | 2 | unit = () |
3 | ^^^^ | 3 | ^^^^ |
4 | and at testdata/language-features/basic-values/redefine01.reject.lc:1:1: | 4 | and at redefine01.reject.lc:1:1: |
5 | unit = () | 5 | unit = () |
6 | ^^^^ | 6 | ^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | unit :: () | 8 | unit :: () |
9 | tuple :: () | 9 | tuple :: () |
10 | unit :: () | 10 | unit :: () |
11 | !already defined unit at testdata/language-features/basic-values/redefine01.reject.lc:3:1: | 11 | !already defined unit at redefine01.reject.lc:3:1: |
12 | unit = () | 12 | unit = () |
13 | ^^^^ | 13 | ^^^^ |
14 | and at testdata/language-features/basic-values/redefine01.reject.lc:1:1: | 14 | and at redefine01.reject.lc:1:1: |
15 | unit = () | 15 | unit = () |
16 | ^^^^ | 16 | ^^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/redefine01.reject.lc 1:1-1:5 | 18 | redefine01.reject.lc 1:1-1:5 |
19 | () | 19 | () |
20 | testdata/language-features/basic-values/redefine01.reject.lc 1:8-1:10 | 20 | redefine01.reject.lc 1:8-1:10 |
21 | () | 21 | () |
22 | testdata/language-features/basic-values/redefine01.reject.lc 2:1-2:6 | 22 | redefine01.reject.lc 2:1-2:6 |
23 | () | 23 | () |
24 | testdata/language-features/basic-values/redefine01.reject.lc 2:9-2:11 | 24 | redefine01.reject.lc 2:9-2:11 |
25 | () | 25 | () |
26 | testdata/language-features/basic-values/redefine01.reject.lc 3:1-3:5 | 26 | redefine01.reject.lc 3:1-3:5 |
27 | () | 27 | () |
28 | testdata/language-features/basic-values/redefine01.reject.lc 3:8-3:10 | 28 | redefine01.reject.lc 3:8-3:10 |
29 | () \ No newline at end of file | 29 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/redefine02.reject.out b/testdata/language-features/basic-values/redefine02.reject.out index 4f5eede0..2d75ac18 100644 --- a/testdata/language-features/basic-values/redefine02.reject.out +++ b/testdata/language-features/basic-values/redefine02.reject.out | |||
@@ -1,9 +1,9 @@ | |||
1 | testdata/language-features/basic-values/redefine02.reject.lc:3:8: | 1 | testdata/language-features/basic-values/redefine02.reject.lc:3:8: |
2 | expecting expression | 2 | expecting expression |
3 | redefined x: | 3 | redefined x: |
4 | testdata/language-features/basic-values/redefine02.reject.lc:1:12: | 4 | redefine02.reject.lc:1:12: |
5 | unit = let x = () | 5 | unit = let x = () |
6 | ^ | 6 | ^ |
7 | testdata/language-features/basic-values/redefine02.reject.lc:2:12: | 7 | redefine02.reject.lc:2:12: |
8 | x = () | 8 | x = () |
9 | ^ | 9 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/redefine03.reject.out b/testdata/language-features/basic-values/redefine03.reject.out index 5973ae17..6cae5486 100644 --- a/testdata/language-features/basic-values/redefine03.reject.out +++ b/testdata/language-features/basic-values/redefine03.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | testdata/language-features/basic-values/redefine03.reject.lc:4:1: | 1 | testdata/language-features/basic-values/redefine03.reject.lc:4:1: |
2 | redefined x: | 2 | redefined x: |
3 | testdata/language-features/basic-values/redefine03.reject.lc:2:9: | 3 | redefine03.reject.lc:2:9: |
4 | where x = () | 4 | where x = () |
5 | ^ | 5 | ^ |
6 | testdata/language-features/basic-values/redefine03.reject.lc:3:9: | 6 | redefine03.reject.lc:3:9: |
7 | x = () | 7 | x = () |
8 | ^ | 8 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/shadowing01.out b/testdata/language-features/basic-values/shadowing01.out index 502ad96f..3d67cf8e 100644 --- a/testdata/language-features/basic-values/shadowing01.out +++ b/testdata/language-features/basic-values/shadowing01.out | |||
@@ -16,25 +16,25 @@ value | |||
16 | value :: Char | 16 | value :: Char |
17 | value = _rhs '7' | 17 | value = _rhs '7' |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | testdata/language-features/basic-values/shadowing01.lc 1:1-1:6 | 19 | shadowing01.lc 1:1-1:6 |
20 | Char | 20 | Char |
21 | testdata/language-features/basic-values/shadowing01.lc 2:11-2:14 | 21 | shadowing01.lc 2:11-2:14 |
22 | Char | 22 | Char |
23 | testdata/language-features/basic-values/shadowing01.lc 3:11-3:18 | 23 | shadowing01.lc 3:11-3:18 |
24 | String | 24 | String |
25 | testdata/language-features/basic-values/shadowing01.lc 5:17-5:18 | 25 | shadowing01.lc 5:17-5:18 |
26 | _b | 26 | _b |
27 | testdata/language-features/basic-values/shadowing01.lc 6:17-6:21 | 27 | shadowing01.lc 6:17-6:21 |
28 | Float | 28 | Float |
29 | testdata/language-features/basic-values/shadowing01.lc 7:25-7:27 | 29 | shadowing01.lc 7:25-7:27 |
30 | () | 30 | () |
31 | testdata/language-features/basic-values/shadowing01.lc 8:25-8:28 | 31 | shadowing01.lc 8:25-8:28 |
32 | Char | 32 | Char |
33 | testdata/language-features/basic-values/shadowing01.lc 9:25-9:29 | 33 | shadowing01.lc 9:25-9:29 |
34 | Float | 34 | Float |
35 | testdata/language-features/basic-values/shadowing01.lc 10:20-10:27 | 35 | shadowing01.lc 10:20-10:27 |
36 | String | 36 | String |
37 | testdata/language-features/basic-values/shadowing01.lc 11:14-11:16 | 37 | shadowing01.lc 11:14-11:16 |
38 | () | 38 | () |
39 | testdata/language-features/basic-values/shadowing01.lc 12:6-12:9 | 39 | shadowing01.lc 12:6-12:9 |
40 | Char \ No newline at end of file | 40 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/shadowing02.out b/testdata/language-features/basic-values/shadowing02.out index aa0b9af2..0149e67b 100644 --- a/testdata/language-features/basic-values/shadowing02.out +++ b/testdata/language-features/basic-values/shadowing02.out | |||
@@ -27,37 +27,37 @@ value2 = _rhs '7' | |||
27 | world :: String | 27 | world :: String |
28 | world = _rhs "world" | 28 | world = _rhs "world" |
29 | ------------ tooltips | 29 | ------------ tooltips |
30 | testdata/language-features/basic-values/shadowing02.lc 1:1-1:2 | 30 | shadowing02.lc 1:1-1:2 |
31 | forall a . Num a => a | 31 | forall a . Num a => a |
32 | testdata/language-features/basic-values/shadowing02.lc 1:5-1:6 | 32 | shadowing02.lc 1:5-1:6 |
33 | _b | 33 | _b |
34 | testdata/language-features/basic-values/shadowing02.lc 2:1-2:6 | 34 | shadowing02.lc 2:1-2:6 |
35 | String | 35 | String |
36 | testdata/language-features/basic-values/shadowing02.lc 2:9-2:16 | 36 | shadowing02.lc 2:9-2:16 |
37 | String | 37 | String |
38 | testdata/language-features/basic-values/shadowing02.lc 3:1-3:7 | 38 | shadowing02.lc 3:1-3:7 |
39 | Char | 39 | Char |
40 | testdata/language-features/basic-values/shadowing02.lc 4:11-4:14 | 40 | shadowing02.lc 4:11-4:14 |
41 | Char | 41 | Char |
42 | testdata/language-features/basic-values/shadowing02.lc 5:11-5:18 | 42 | shadowing02.lc 5:11-5:18 |
43 | String | 43 | String |
44 | testdata/language-features/basic-values/shadowing02.lc 6:11-6:14 | 44 | shadowing02.lc 6:11-6:14 |
45 | _b | 45 | _b |
46 | testdata/language-features/basic-values/shadowing02.lc 8:17-8:18 | 46 | shadowing02.lc 8:17-8:18 |
47 | _b | 47 | _b |
48 | testdata/language-features/basic-values/shadowing02.lc 9:17-9:21 | 48 | shadowing02.lc 9:17-9:21 |
49 | Float | 49 | Float |
50 | testdata/language-features/basic-values/shadowing02.lc 10:25-10:27 | 50 | shadowing02.lc 10:25-10:27 |
51 | () | 51 | () |
52 | testdata/language-features/basic-values/shadowing02.lc 11:25-11:28 | 52 | shadowing02.lc 11:25-11:28 |
53 | Char | 53 | Char |
54 | testdata/language-features/basic-values/shadowing02.lc 12:25-12:29 | 54 | shadowing02.lc 12:25-12:29 |
55 | Float | 55 | Float |
56 | testdata/language-features/basic-values/shadowing02.lc 13:25-13:26 | 56 | shadowing02.lc 13:25-13:26 |
57 | forall a . Num a => a | 57 | forall a . Num a => a |
58 | testdata/language-features/basic-values/shadowing02.lc 14:20-14:25 | 58 | shadowing02.lc 14:20-14:25 |
59 | String | 59 | String |
60 | testdata/language-features/basic-values/shadowing02.lc 15:14-15:16 | 60 | shadowing02.lc 15:14-15:16 |
61 | () | 61 | () |
62 | testdata/language-features/basic-values/shadowing02.lc 16:6-16:9 | 62 | shadowing02.lc 16:6-16:9 |
63 | Char \ No newline at end of file | 63 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/shadowing03.out b/testdata/language-features/basic-values/shadowing03.out index cb7d1050..1fe98417 100644 --- a/testdata/language-features/basic-values/shadowing03.out +++ b/testdata/language-features/basic-values/shadowing03.out | |||
@@ -5,7 +5,7 @@ x = _lhs x \(_ :: _) (_ :: _) -> _rhs () | |||
5 | x :: forall a b . a -> b -> () | 5 | x :: forall a b . a -> b -> () |
6 | x = \a b _ _ -> _rhs () | 6 | x = \a b _ _ -> _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/shadowing03.lc 1:1-1:2 | 8 | shadowing03.lc 1:1-1:2 |
9 | forall a b . a -> b -> () | 9 | forall a b . a -> b -> () |
10 | testdata/language-features/basic-values/shadowing03.lc 1:9-1:11 | 10 | shadowing03.lc 1:9-1:11 |
11 | () \ No newline at end of file | 11 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/shadowing04.out b/testdata/language-features/basic-values/shadowing04.out index 042c221d..1c371cea 100644 --- a/testdata/language-features/basic-values/shadowing04.out +++ b/testdata/language-features/basic-values/shadowing04.out | |||
@@ -5,7 +5,7 @@ __ = _lhs __ \(_ :: _) (_ :: _) -> _rhs () | |||
5 | __ :: forall a b . a -> b -> () | 5 | __ :: forall a b . a -> b -> () |
6 | __ = \a b _ _ -> _rhs () | 6 | __ = \a b _ _ -> _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/shadowing04.lc 1:1-1:3 | 8 | shadowing04.lc 1:1-1:3 |
9 | forall a b . a -> b -> () | 9 | forall a b . a -> b -> () |
10 | testdata/language-features/basic-values/shadowing04.lc 1:11-1:13 | 10 | shadowing04.lc 1:11-1:13 |
11 | () \ No newline at end of file | 11 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/tuple01.out b/testdata/language-features/basic-values/tuple01.out index b3a8a352..ef606dab 100644 --- a/testdata/language-features/basic-values/tuple01.out +++ b/testdata/language-features/basic-values/tuple01.out | |||
@@ -5,7 +5,7 @@ unit = _lhs unit (_rhs ()) | |||
5 | unit :: () | 5 | unit :: () |
6 | unit = _rhs () | 6 | unit = _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/tuple01.lc 1:1-1:5 | 8 | tuple01.lc 1:1-1:5 |
9 | () | 9 | () |
10 | testdata/language-features/basic-values/tuple01.lc 1:8-1:10 | 10 | tuple01.lc 1:8-1:10 |
11 | () \ No newline at end of file | 11 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/tuple02.out b/testdata/language-features/basic-values/tuple02.out index d221d37a..c1561406 100644 --- a/testdata/language-features/basic-values/tuple02.out +++ b/testdata/language-features/basic-values/tuple02.out | |||
@@ -15,43 +15,43 @@ tuple2 = _rhs ((), ()) | |||
15 | tuple3 :: ((String, Char), ()) | 15 | tuple3 :: ((String, Char), ()) |
16 | tuple3 = _rhs (("name", 'c'), ()) | 16 | tuple3 = _rhs (("name", 'c'), ()) |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/tuple02.lc 1:1-1:7 | 18 | tuple02.lc 1:1-1:7 |
19 | forall a . Num a => (a, Float, Char, String, ()) | 19 | forall a . Num a => (a, Float, Char, String, ()) |
20 | testdata/language-features/basic-values/tuple02.lc 1:10-1:33 | 20 | tuple02.lc 1:10-1:33 |
21 | (_b, Float, Char, String, ()) | 21 | (_b, Float, Char, String, ()) |
22 | testdata/language-features/basic-values/tuple02.lc 1:11-1:12 | 22 | tuple02.lc 1:11-1:12 |
23 | _b | 23 | _b |
24 | testdata/language-features/basic-values/tuple02.lc 1:13-1:16 | 24 | tuple02.lc 1:13-1:16 |
25 | Float | 25 | Float |
26 | testdata/language-features/basic-values/tuple02.lc 1:13-1:32 | 26 | tuple02.lc 1:13-1:32 |
27 | (Float, Char, String, ()) | 27 | (Float, Char, String, ()) |
28 | testdata/language-features/basic-values/tuple02.lc 1:17-1:20 | 28 | tuple02.lc 1:17-1:20 |
29 | Char | 29 | Char |
30 | testdata/language-features/basic-values/tuple02.lc 1:17-1:32 | 30 | tuple02.lc 1:17-1:32 |
31 | (Char, String, ()) | 31 | (Char, String, ()) |
32 | testdata/language-features/basic-values/tuple02.lc 1:21-1:29 | 32 | tuple02.lc 1:21-1:29 |
33 | String | 33 | String |
34 | testdata/language-features/basic-values/tuple02.lc 1:21-1:32 | 34 | tuple02.lc 1:21-1:32 |
35 | (String, ()) | 35 | (String, ()) |
36 | testdata/language-features/basic-values/tuple02.lc 1:30-1:32 | 36 | tuple02.lc 1:30-1:32 |
37 | () | ((())) | 37 | () | ((())) |
38 | testdata/language-features/basic-values/tuple02.lc 3:1-3:7 | 38 | tuple02.lc 3:1-3:7 |
39 | ((), ()) | 39 | ((), ()) |
40 | testdata/language-features/basic-values/tuple02.lc 3:10-3:17 | 40 | tuple02.lc 3:10-3:17 |
41 | ((), ()) | 41 | ((), ()) |
42 | testdata/language-features/basic-values/tuple02.lc 3:11-3:13 | 42 | tuple02.lc 3:11-3:13 |
43 | () | 43 | () |
44 | testdata/language-features/basic-values/tuple02.lc 3:14-3:16 | 44 | tuple02.lc 3:14-3:16 |
45 | () | ((())) | 45 | () | ((())) |
46 | testdata/language-features/basic-values/tuple02.lc 5:1-5:7 | 46 | tuple02.lc 5:1-5:7 |
47 | ((String, Char), ()) | 47 | ((String, Char), ()) |
48 | testdata/language-features/basic-values/tuple02.lc 5:10-5:27 | 48 | tuple02.lc 5:10-5:27 |
49 | ((String, Char), ()) | 49 | ((String, Char), ()) |
50 | testdata/language-features/basic-values/tuple02.lc 5:11-5:23 | 50 | tuple02.lc 5:11-5:23 |
51 | (String, Char) | 51 | (String, Char) |
52 | testdata/language-features/basic-values/tuple02.lc 5:12-5:18 | 52 | tuple02.lc 5:12-5:18 |
53 | String | 53 | String |
54 | testdata/language-features/basic-values/tuple02.lc 5:19-5:22 | 54 | tuple02.lc 5:19-5:22 |
55 | Char | ((Char)) | 55 | Char | ((Char)) |
56 | testdata/language-features/basic-values/tuple02.lc 5:24-5:26 | 56 | tuple02.lc 5:24-5:26 |
57 | () | ((())) \ No newline at end of file | 57 | () | ((())) \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig01.out b/testdata/language-features/basic-values/typesig01.out index 964ba8a7..99b776c7 100644 --- a/testdata/language-features/basic-values/typesig01.out +++ b/testdata/language-features/basic-values/typesig01.out | |||
@@ -12,15 +12,15 @@ value1 = _rhs 'a' | |||
12 | value2 :: Char | 12 | value2 :: Char |
13 | value2 = _rhs 'a' | 13 | value2 = _rhs 'a' |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/basic-values/typesig01.lc 1:11-1:15 | 15 | typesig01.lc 1:11-1:15 |
16 | Type | 16 | Type |
17 | testdata/language-features/basic-values/typesig01.lc 2:1-2:7 | 17 | typesig01.lc 2:1-2:7 |
18 | Char | 18 | Char |
19 | testdata/language-features/basic-values/typesig01.lc 2:10-2:13 | 19 | typesig01.lc 2:10-2:13 |
20 | Char | 20 | Char |
21 | testdata/language-features/basic-values/typesig01.lc 4:9-4:13 | 21 | typesig01.lc 4:9-4:13 |
22 | Type | 22 | Type |
23 | testdata/language-features/basic-values/typesig01.lc 5:1-5:7 | 23 | typesig01.lc 5:1-5:7 |
24 | Char | 24 | Char |
25 | testdata/language-features/basic-values/typesig01.lc 5:8-5:11 | 25 | typesig01.lc 5:8-5:11 |
26 | Char \ No newline at end of file | 26 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig02.out b/testdata/language-features/basic-values/typesig02.out index b9c50d6b..4380458d 100644 --- a/testdata/language-features/basic-values/typesig02.out +++ b/testdata/language-features/basic-values/typesig02.out | |||
@@ -10,15 +10,15 @@ value1 = _rhs 'a' | |||
10 | value2 :: Char | 10 | value2 :: Char |
11 | value2 = _rhs 'a' | 11 | value2 = _rhs 'a' |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/basic-values/typesig02.lc 1:1-1:7 | 13 | typesig02.lc 1:1-1:7 |
14 | Char | 14 | Char |
15 | testdata/language-features/basic-values/typesig02.lc 1:10-1:13 | 15 | typesig02.lc 1:10-1:13 |
16 | Char | 16 | Char |
17 | testdata/language-features/basic-values/typesig02.lc 1:17-1:21 | 17 | typesig02.lc 1:17-1:21 |
18 | Type | 18 | Type |
19 | testdata/language-features/basic-values/typesig02.lc 3:1-3:7 | 19 | typesig02.lc 3:1-3:7 |
20 | Char | 20 | Char |
21 | testdata/language-features/basic-values/typesig02.lc 3:8-3:11 | 21 | typesig02.lc 3:8-3:11 |
22 | Char | 22 | Char |
23 | testdata/language-features/basic-values/typesig02.lc 3:13-3:17 | 23 | typesig02.lc 3:13-3:17 |
24 | Type \ No newline at end of file | 24 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig03.out b/testdata/language-features/basic-values/typesig03.out index a26d2bef..0ccb0844 100644 --- a/testdata/language-features/basic-values/typesig03.out +++ b/testdata/language-features/basic-values/typesig03.out | |||
@@ -12,39 +12,39 @@ fun1 = \_ _ _ _ _ _ -> _rhs () | |||
12 | fun2 :: forall a b c . a -> b -> c -> () | 12 | fun2 :: forall a b c . a -> b -> c -> () |
13 | fun2 = \_ _ _ _ _ _ -> _rhs () | 13 | fun2 = \_ _ _ _ _ _ -> _rhs () |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/basic-values/typesig03.lc 1:9-1:10 | 15 | typesig03.lc 1:9-1:10 |
16 | _f | 16 | _f |
17 | testdata/language-features/basic-values/typesig03.lc 1:9-1:26 | 17 | typesig03.lc 1:9-1:26 |
18 | Type | Type | Type | 18 | Type | Type | Type |
19 | testdata/language-features/basic-values/typesig03.lc 1:14-1:15 | 19 | typesig03.lc 1:14-1:15 |
20 | _e | 20 | _e |
21 | testdata/language-features/basic-values/typesig03.lc 1:14-1:26 | 21 | typesig03.lc 1:14-1:26 |
22 | Type | 22 | Type |
23 | testdata/language-features/basic-values/typesig03.lc 1:19-1:20 | 23 | typesig03.lc 1:19-1:20 |
24 | _d | 24 | _d |
25 | testdata/language-features/basic-values/typesig03.lc 1:19-1:26 | 25 | typesig03.lc 1:19-1:26 |
26 | Type | 26 | Type |
27 | testdata/language-features/basic-values/typesig03.lc 1:24-1:26 | 27 | typesig03.lc 1:24-1:26 |
28 | Type | Type | 28 | Type | Type |
29 | testdata/language-features/basic-values/typesig03.lc 2:1-2:5 | 29 | typesig03.lc 2:1-2:5 |
30 | forall a b c . a -> b -> c -> () | 30 | forall a b c . a -> b -> c -> () |
31 | testdata/language-features/basic-values/typesig03.lc 2:14-2:16 | 31 | typesig03.lc 2:14-2:16 |
32 | () | 32 | () |
33 | testdata/language-features/basic-values/typesig03.lc 4:7-4:8 | 33 | typesig03.lc 4:7-4:8 |
34 | _f | 34 | _f |
35 | testdata/language-features/basic-values/typesig03.lc 4:7-4:18 | 35 | typesig03.lc 4:7-4:18 |
36 | Type | Type | Type | 36 | Type | Type | Type |
37 | testdata/language-features/basic-values/typesig03.lc 4:10-4:11 | 37 | typesig03.lc 4:10-4:11 |
38 | _e | 38 | _e |
39 | testdata/language-features/basic-values/typesig03.lc 4:10-4:18 | 39 | typesig03.lc 4:10-4:18 |
40 | Type | 40 | Type |
41 | testdata/language-features/basic-values/typesig03.lc 4:13-4:14 | 41 | typesig03.lc 4:13-4:14 |
42 | _d | 42 | _d |
43 | testdata/language-features/basic-values/typesig03.lc 4:13-4:18 | 43 | typesig03.lc 4:13-4:18 |
44 | Type | 44 | Type |
45 | testdata/language-features/basic-values/typesig03.lc 4:16-4:18 | 45 | typesig03.lc 4:16-4:18 |
46 | Type | Type | 46 | Type | Type |
47 | testdata/language-features/basic-values/typesig03.lc 5:1-5:5 | 47 | typesig03.lc 5:1-5:5 |
48 | forall a b c . a -> b -> c -> () | 48 | forall a b c . a -> b -> c -> () |
49 | testdata/language-features/basic-values/typesig03.lc 5:14-5:16 | 49 | typesig03.lc 5:14-5:16 |
50 | () \ No newline at end of file | 50 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig04.out b/testdata/language-features/basic-values/typesig04.out index 4e55cfac..216b50b5 100644 --- a/testdata/language-features/basic-values/typesig04.out +++ b/testdata/language-features/basic-values/typesig04.out | |||
@@ -12,35 +12,35 @@ fun1 = \_ _ _ _ _ -> _rhs () | |||
12 | fun2 :: forall a b c . a -> (b -> c) -> () | 12 | fun2 :: forall a b c . a -> (b -> c) -> () |
13 | fun2 = \_ _ _ _ _ -> _rhs () | 13 | fun2 = \_ _ _ _ _ -> _rhs () |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/basic-values/typesig04.lc 1:9-1:10 | 15 | typesig04.lc 1:9-1:10 |
16 | _f | 16 | _f |
17 | testdata/language-features/basic-values/typesig04.lc 1:9-1:28 | 17 | typesig04.lc 1:9-1:28 |
18 | Type | Type | Type | 18 | Type | Type | Type |
19 | testdata/language-features/basic-values/typesig04.lc 1:14-1:28 | 19 | typesig04.lc 1:14-1:28 |
20 | Type | 20 | Type |
21 | testdata/language-features/basic-values/typesig04.lc 1:15-1:16 | 21 | typesig04.lc 1:15-1:16 |
22 | _e | 22 | _e |
23 | testdata/language-features/basic-values/typesig04.lc 1:20-1:21 | 23 | typesig04.lc 1:20-1:21 |
24 | _d | Type | 24 | _d | Type |
25 | testdata/language-features/basic-values/typesig04.lc 1:26-1:28 | 25 | typesig04.lc 1:26-1:28 |
26 | Type | Type | 26 | Type | Type |
27 | testdata/language-features/basic-values/typesig04.lc 2:1-2:5 | 27 | typesig04.lc 2:1-2:5 |
28 | forall a b c . a -> (b -> c) -> () | 28 | forall a b c . a -> (b -> c) -> () |
29 | testdata/language-features/basic-values/typesig04.lc 2:12-2:14 | 29 | typesig04.lc 2:12-2:14 |
30 | () | 30 | () |
31 | testdata/language-features/basic-values/typesig04.lc 4:7-4:8 | 31 | typesig04.lc 4:7-4:8 |
32 | _f | 32 | _f |
33 | testdata/language-features/basic-values/typesig04.lc 4:7-4:20 | 33 | typesig04.lc 4:7-4:20 |
34 | Type | Type | Type | 34 | Type | Type | Type |
35 | testdata/language-features/basic-values/typesig04.lc 4:10-4:20 | 35 | typesig04.lc 4:10-4:20 |
36 | Type | 36 | Type |
37 | testdata/language-features/basic-values/typesig04.lc 4:11-4:12 | 37 | typesig04.lc 4:11-4:12 |
38 | _e | 38 | _e |
39 | testdata/language-features/basic-values/typesig04.lc 4:14-4:15 | 39 | typesig04.lc 4:14-4:15 |
40 | _d | Type | 40 | _d | Type |
41 | testdata/language-features/basic-values/typesig04.lc 4:18-4:20 | 41 | typesig04.lc 4:18-4:20 |
42 | Type | Type | 42 | Type | Type |
43 | testdata/language-features/basic-values/typesig04.lc 5:1-5:5 | 43 | typesig04.lc 5:1-5:5 |
44 | forall a b c . a -> (b -> c) -> () | 44 | forall a b c . a -> (b -> c) -> () |
45 | testdata/language-features/basic-values/typesig04.lc 5:12-5:14 | 45 | typesig04.lc 5:12-5:14 |
46 | () \ No newline at end of file | 46 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig05.out b/testdata/language-features/basic-values/typesig05.out index fc1da409..68ed5a37 100644 --- a/testdata/language-features/basic-values/typesig05.out +++ b/testdata/language-features/basic-values/typesig05.out | |||
@@ -32,67 +32,67 @@ value3 = _rhs 'a' | |||
32 | value4 :: String | 32 | value4 :: String |
33 | value4 = _rhs "b" | 33 | value4 = _rhs "b" |
34 | ------------ tooltips | 34 | ------------ tooltips |
35 | testdata/language-features/basic-values/typesig05.lc 1:1-1:5 | 35 | typesig05.lc 1:1-1:5 |
36 | forall a b . a -> b -> a | 36 | forall a b . a -> b -> a |
37 | testdata/language-features/basic-values/typesig05.lc 1:12-1:13 | 37 | typesig05.lc 1:12-1:13 |
38 | _d | 38 | _d |
39 | testdata/language-features/basic-values/typesig05.lc 2:1-2:5 | 39 | typesig05.lc 2:1-2:5 |
40 | forall a b . a -> b -> b | 40 | forall a b . a -> b -> b |
41 | testdata/language-features/basic-values/typesig05.lc 2:12-2:13 | 41 | typesig05.lc 2:12-2:13 |
42 | _b | 42 | _b |
43 | testdata/language-features/basic-values/typesig05.lc 4:1-4:7 | 43 | typesig05.lc 4:1-4:7 |
44 | Char | 44 | Char |
45 | testdata/language-features/basic-values/typesig05.lc 4:10-4:14 | 45 | typesig05.lc 4:10-4:14 |
46 | forall a b . a -> b -> a | 46 | forall a b . a -> b -> a |
47 | testdata/language-features/basic-values/typesig05.lc 4:10-4:18 | 47 | typesig05.lc 4:10-4:18 |
48 | _a -> Char | 48 | _a -> Char |
49 | testdata/language-features/basic-values/typesig05.lc 4:10-4:22 | 49 | typesig05.lc 4:10-4:22 |
50 | Char | 50 | Char |
51 | testdata/language-features/basic-values/typesig05.lc 4:15-4:18 | 51 | typesig05.lc 4:15-4:18 |
52 | Char | 52 | Char |
53 | testdata/language-features/basic-values/typesig05.lc 4:19-4:22 | 53 | typesig05.lc 4:19-4:22 |
54 | String | 54 | String |
55 | testdata/language-features/basic-values/typesig05.lc 4:26-4:30 | 55 | typesig05.lc 4:26-4:30 |
56 | Type | 56 | Type |
57 | testdata/language-features/basic-values/typesig05.lc 5:1-5:7 | 57 | typesig05.lc 5:1-5:7 |
58 | String | 58 | String |
59 | testdata/language-features/basic-values/typesig05.lc 5:10-5:14 | 59 | typesig05.lc 5:10-5:14 |
60 | forall a b . a -> b -> b | 60 | forall a b . a -> b -> b |
61 | testdata/language-features/basic-values/typesig05.lc 5:10-5:18 | 61 | typesig05.lc 5:10-5:18 |
62 | _a -> _a | 62 | _a -> _a |
63 | testdata/language-features/basic-values/typesig05.lc 5:10-5:22 | 63 | typesig05.lc 5:10-5:22 |
64 | String | 64 | String |
65 | testdata/language-features/basic-values/typesig05.lc 5:15-5:18 | 65 | typesig05.lc 5:15-5:18 |
66 | Char | 66 | Char |
67 | testdata/language-features/basic-values/typesig05.lc 5:19-5:22 | 67 | typesig05.lc 5:19-5:22 |
68 | String | 68 | String |
69 | testdata/language-features/basic-values/typesig05.lc 5:26-5:32 | 69 | typesig05.lc 5:26-5:32 |
70 | Type | 70 | Type |
71 | testdata/language-features/basic-values/typesig05.lc 7:11-7:15 | 71 | typesig05.lc 7:11-7:15 |
72 | Type | 72 | Type |
73 | testdata/language-features/basic-values/typesig05.lc 8:1-8:7 | 73 | typesig05.lc 8:1-8:7 |
74 | Char | 74 | Char |
75 | testdata/language-features/basic-values/typesig05.lc 8:10-8:14 | 75 | typesig05.lc 8:10-8:14 |
76 | forall a b . a -> b -> a | 76 | forall a b . a -> b -> a |
77 | testdata/language-features/basic-values/typesig05.lc 8:10-8:18 | 77 | typesig05.lc 8:10-8:18 |
78 | _a -> Char | 78 | _a -> Char |
79 | testdata/language-features/basic-values/typesig05.lc 8:10-8:22 | 79 | typesig05.lc 8:10-8:22 |
80 | Char | 80 | Char |
81 | testdata/language-features/basic-values/typesig05.lc 8:15-8:18 | 81 | typesig05.lc 8:15-8:18 |
82 | Char | 82 | Char |
83 | testdata/language-features/basic-values/typesig05.lc 8:19-8:22 | 83 | typesig05.lc 8:19-8:22 |
84 | String | 84 | String |
85 | testdata/language-features/basic-values/typesig05.lc 10:11-10:17 | 85 | typesig05.lc 10:11-10:17 |
86 | Type | 86 | Type |
87 | testdata/language-features/basic-values/typesig05.lc 11:1-11:7 | 87 | typesig05.lc 11:1-11:7 |
88 | String | 88 | String |
89 | testdata/language-features/basic-values/typesig05.lc 11:10-11:14 | 89 | typesig05.lc 11:10-11:14 |
90 | forall a b . a -> b -> b | 90 | forall a b . a -> b -> b |
91 | testdata/language-features/basic-values/typesig05.lc 11:10-11:18 | 91 | typesig05.lc 11:10-11:18 |
92 | _a -> _a | 92 | _a -> _a |
93 | testdata/language-features/basic-values/typesig05.lc 11:10-11:22 | 93 | typesig05.lc 11:10-11:22 |
94 | String | 94 | String |
95 | testdata/language-features/basic-values/typesig05.lc 11:15-11:18 | 95 | typesig05.lc 11:15-11:18 |
96 | Char | 96 | Char |
97 | testdata/language-features/basic-values/typesig05.lc 11:19-11:22 | 97 | typesig05.lc 11:19-11:22 |
98 | String \ No newline at end of file | 98 | String \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig06.out b/testdata/language-features/basic-values/typesig06.out index 04783c47..c0d085a4 100644 --- a/testdata/language-features/basic-values/typesig06.out +++ b/testdata/language-features/basic-values/typesig06.out | |||
@@ -20,39 +20,39 @@ value1 = _rhs "hi" | |||
20 | value2 :: String | 20 | value2 :: String |
21 | value2 = _rhs "hi" | 21 | value2 = _rhs "hi" |
22 | ------------ tooltips | 22 | ------------ tooltips |
23 | testdata/language-features/basic-values/typesig06.lc 1:1-1:5 | 23 | typesig06.lc 1:1-1:5 |
24 | forall a b . a -> b -> a | 24 | forall a b . a -> b -> a |
25 | testdata/language-features/basic-values/typesig06.lc 1:12-1:13 | 25 | typesig06.lc 1:12-1:13 |
26 | _d | 26 | _d |
27 | testdata/language-features/basic-values/typesig06.lc 2:3-2:5 | 27 | typesig06.lc 2:3-2:5 |
28 | forall a b . a -> b -> a | 28 | forall a b . a -> b -> a |
29 | testdata/language-features/basic-values/typesig06.lc 2:10-2:11 | 29 | typesig06.lc 2:10-2:11 |
30 | _d | 30 | _d |
31 | testdata/language-features/basic-values/typesig06.lc 4:1-4:7 | 31 | typesig06.lc 4:1-4:7 |
32 | String | 32 | String |
33 | testdata/language-features/basic-values/typesig06.lc 4:10-4:14 | 33 | typesig06.lc 4:10-4:14 |
34 | String | 34 | String |
35 | testdata/language-features/basic-values/typesig06.lc 4:10-4:17 | 35 | typesig06.lc 4:10-4:17 |
36 | _a -> String | 36 | _a -> String |
37 | testdata/language-features/basic-values/typesig06.lc 4:10-4:21 | 37 | typesig06.lc 4:10-4:21 |
38 | String | 38 | String |
39 | testdata/language-features/basic-values/typesig06.lc 4:15-4:17 | 39 | typesig06.lc 4:15-4:17 |
40 | forall a b . a -> b -> a | 40 | forall a b . a -> b -> a |
41 | testdata/language-features/basic-values/typesig06.lc 4:18-4:21 | 41 | typesig06.lc 4:18-4:21 |
42 | Float | 42 | Float |
43 | testdata/language-features/basic-values/typesig06.lc 4:25-4:31 | 43 | typesig06.lc 4:25-4:31 |
44 | Type | 44 | Type |
45 | testdata/language-features/basic-values/typesig06.lc 5:1-5:7 | 45 | typesig06.lc 5:1-5:7 |
46 | String | 46 | String |
47 | testdata/language-features/basic-values/typesig06.lc 5:10-5:14 | 47 | typesig06.lc 5:10-5:14 |
48 | String | 48 | String |
49 | testdata/language-features/basic-values/typesig06.lc 5:10-5:21 | 49 | typesig06.lc 5:10-5:21 |
50 | _a -> String | 50 | _a -> String |
51 | testdata/language-features/basic-values/typesig06.lc 5:10-5:25 | 51 | typesig06.lc 5:10-5:25 |
52 | String | 52 | String |
53 | testdata/language-features/basic-values/typesig06.lc 5:15-5:21 | 53 | typesig06.lc 5:15-5:21 |
54 | forall a b . a -> b -> a | 54 | forall a b . a -> b -> a |
55 | testdata/language-features/basic-values/typesig06.lc 5:22-5:25 | 55 | typesig06.lc 5:22-5:25 |
56 | Float | 56 | Float |
57 | testdata/language-features/basic-values/typesig06.lc 5:29-5:35 | 57 | typesig06.lc 5:29-5:35 |
58 | Type \ No newline at end of file | 58 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesig07.out b/testdata/language-features/basic-values/typesig07.out index c8f1b04a..61b2b2ec 100644 --- a/testdata/language-features/basic-values/typesig07.out +++ b/testdata/language-features/basic-values/typesig07.out | |||
@@ -36,37 +36,37 @@ value4 = \_ _ -> _rhs () | |||
36 | value6 :: () -> () -> () | 36 | value6 :: () -> () -> () |
37 | value6 = \_ _ -> _rhs () | 37 | value6 = \_ _ -> _rhs () |
38 | ------------ tooltips | 38 | ------------ tooltips |
39 | testdata/language-features/basic-values/typesig07.lc 1:27-1:30 | 39 | typesig07.lc 1:27-1:30 |
40 | Type | Type | Type | 40 | Type | Type | Type |
41 | testdata/language-features/basic-values/typesig07.lc 3:1-3:7 | 41 | typesig07.lc 3:1-3:7 |
42 | Int | 42 | Int |
43 | testdata/language-features/basic-values/typesig07.lc 3:10-3:11 | 43 | typesig07.lc 3:10-3:11 |
44 | _b | 44 | _b |
45 | testdata/language-features/basic-values/typesig07.lc 4:1-4:7 | 45 | typesig07.lc 4:1-4:7 |
46 | Int | 46 | Int |
47 | testdata/language-features/basic-values/typesig07.lc 4:10-4:11 | 47 | typesig07.lc 4:10-4:11 |
48 | _b | 48 | _b |
49 | testdata/language-features/basic-values/typesig07.lc 5:1-5:7 | 49 | typesig07.lc 5:1-5:7 |
50 | Int | 50 | Int |
51 | testdata/language-features/basic-values/typesig07.lc 5:10-5:11 | 51 | typesig07.lc 5:10-5:11 |
52 | _b | 52 | _b |
53 | testdata/language-features/basic-values/typesig07.lc 8:12-8:14 | 53 | typesig07.lc 8:12-8:14 |
54 | Type | Type | Type | 54 | Type | Type | Type |
55 | testdata/language-features/basic-values/typesig07.lc 8:18-8:20 | 55 | typesig07.lc 8:18-8:20 |
56 | Type | Type | Type | 56 | Type | Type | Type |
57 | testdata/language-features/basic-values/typesig07.lc 8:18-8:26 | 57 | typesig07.lc 8:18-8:26 |
58 | Type | Type | Type | 58 | Type | Type | Type |
59 | testdata/language-features/basic-values/typesig07.lc 8:24-8:26 | 59 | typesig07.lc 8:24-8:26 |
60 | Type | Type | Type | Type | Type | Type | 60 | Type | Type | Type | Type | Type | Type |
61 | testdata/language-features/basic-values/typesig07.lc 10:1-10:7 | 61 | typesig07.lc 10:1-10:7 |
62 | () -> () -> () | 62 | () -> () -> () |
63 | testdata/language-features/basic-values/typesig07.lc 10:14-10:16 | 63 | typesig07.lc 10:14-10:16 |
64 | () | 64 | () |
65 | testdata/language-features/basic-values/typesig07.lc 11:3-11:6 | 65 | typesig07.lc 11:3-11:6 |
66 | () -> () -> () | 66 | () -> () -> () |
67 | testdata/language-features/basic-values/typesig07.lc 11:11-11:13 | 67 | typesig07.lc 11:11-11:13 |
68 | () | 68 | () |
69 | testdata/language-features/basic-values/typesig07.lc 12:1-12:7 | 69 | typesig07.lc 12:1-12:7 |
70 | () -> () -> () | 70 | () -> () -> () |
71 | testdata/language-features/basic-values/typesig07.lc 12:14-12:16 | 71 | typesig07.lc 12:14-12:16 |
72 | () \ No newline at end of file | 72 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesyn01.out b/testdata/language-features/basic-values/typesyn01.out index 04b3421a..df1cfb53 100644 --- a/testdata/language-features/basic-values/typesyn01.out +++ b/testdata/language-features/basic-values/typesyn01.out | |||
@@ -5,7 +5,7 @@ main is not found | |||
5 | 'MyUnit :: Type | 5 | 'MyUnit :: Type |
6 | 'MyUnit = _rhs ' () | 6 | 'MyUnit = _rhs ' () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/typesyn01.lc 1:6-1:12 | 8 | typesyn01.lc 1:6-1:12 |
9 | Type | 9 | Type |
10 | testdata/language-features/basic-values/typesyn01.lc 1:15-1:17 | 10 | typesyn01.lc 1:15-1:17 |
11 | Type \ No newline at end of file | 11 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesyn02.out b/testdata/language-features/basic-values/typesyn02.out index efca73f5..60d36933 100644 --- a/testdata/language-features/basic-values/typesyn02.out +++ b/testdata/language-features/basic-values/typesyn02.out | |||
@@ -11,21 +11,21 @@ fun = _lhs fun \(_ :: _) (a :: _) -> hlistNilCase _ (_rhs ()) a | |||
11 | fun :: forall a . a -> MyUnit -> () | 11 | fun :: forall a . a -> MyUnit -> () |
12 | fun = \_ _ a -> hlistNilCase ' () (_rhs ()) a | 12 | fun = \_ _ a -> hlistNilCase ' () (_rhs ()) a |
13 | ------------ tooltips | 13 | ------------ tooltips |
14 | testdata/language-features/basic-values/typesyn02.lc 1:6-1:12 | 14 | typesyn02.lc 1:6-1:12 |
15 | Type | 15 | Type |
16 | testdata/language-features/basic-values/typesyn02.lc 1:15-1:17 | 16 | typesyn02.lc 1:15-1:17 |
17 | Type | 17 | Type |
18 | testdata/language-features/basic-values/typesyn02.lc 3:8-3:9 | 18 | typesyn02.lc 3:8-3:9 |
19 | _b | 19 | _b |
20 | testdata/language-features/basic-values/typesyn02.lc 3:8-3:29 | 20 | typesyn02.lc 3:8-3:29 |
21 | Type | 21 | Type |
22 | testdata/language-features/basic-values/typesyn02.lc 3:13-3:19 | 22 | typesyn02.lc 3:13-3:19 |
23 | Type | 23 | Type |
24 | testdata/language-features/basic-values/typesyn02.lc 3:13-3:29 | 24 | typesyn02.lc 3:13-3:29 |
25 | Type | 25 | Type |
26 | testdata/language-features/basic-values/typesyn02.lc 3:23-3:29 | 26 | typesyn02.lc 3:23-3:29 |
27 | Type | Type | 27 | Type | Type |
28 | testdata/language-features/basic-values/typesyn02.lc 4:1-4:4 | 28 | typesyn02.lc 4:1-4:4 |
29 | forall a . a -> MyUnit -> () | 29 | forall a . a -> MyUnit -> () |
30 | testdata/language-features/basic-values/typesyn02.lc 4:12-4:14 | 30 | typesyn02.lc 4:12-4:14 |
31 | () | () \ No newline at end of file | 31 | () | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesyn03.reject.out b/testdata/language-features/basic-values/typesyn03.reject.out index 2b77d0c1..692e020f 100644 --- a/testdata/language-features/basic-values/typesyn03.reject.out +++ b/testdata/language-features/basic-values/typesyn03.reject.out | |||
@@ -1,24 +1,24 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/basic-values/typesyn03.reject.lc:2:6: | 1 | already defined 'MyUnit at typesyn03.reject.lc:2:6: |
2 | type MyUnit = () | 2 | type MyUnit = () |
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/basic-values/typesyn03.reject.lc:1:6: | 4 | and at typesyn03.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | 'MyUnit :: Type | 8 | 'MyUnit :: Type |
9 | 'MyUnit :: Type | 9 | 'MyUnit :: Type |
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn03.reject.lc:2:6: | 10 | !already defined 'MyUnit at typesyn03.reject.lc:2:6: |
11 | type MyUnit = () | 11 | type MyUnit = () |
12 | ^^^^^^ | 12 | ^^^^^^ |
13 | and at testdata/language-features/basic-values/typesyn03.reject.lc:1:6: | 13 | and at typesyn03.reject.lc:1:6: |
14 | type MyUnit = () | 14 | type MyUnit = () |
15 | ^^^^^^ | 15 | ^^^^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-values/typesyn03.reject.lc 1:6-1:12 | 17 | typesyn03.reject.lc 1:6-1:12 |
18 | Type | 18 | Type |
19 | testdata/language-features/basic-values/typesyn03.reject.lc 1:15-1:17 | 19 | typesyn03.reject.lc 1:15-1:17 |
20 | Type | 20 | Type |
21 | testdata/language-features/basic-values/typesyn03.reject.lc 2:6-2:12 | 21 | typesyn03.reject.lc 2:6-2:12 |
22 | Type | 22 | Type |
23 | testdata/language-features/basic-values/typesyn03.reject.lc 2:15-2:17 | 23 | typesyn03.reject.lc 2:15-2:17 |
24 | Type \ No newline at end of file | 24 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/typesyn04.reject.out b/testdata/language-features/basic-values/typesyn04.reject.out index bb35b41e..3ad7f8a7 100644 --- a/testdata/language-features/basic-values/typesyn04.reject.out +++ b/testdata/language-features/basic-values/typesyn04.reject.out | |||
@@ -1,24 +1,24 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/basic-values/typesyn04.reject.lc:2:6: | 1 | already defined 'MyUnit at typesyn04.reject.lc:2:6: |
2 | type MyUnit = () | 2 | type MyUnit = () |
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/basic-values/typesyn04.reject.lc:1:6: | 4 | and at typesyn04.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | 'MyUnit :: Type | 8 | 'MyUnit :: Type |
9 | 'MyUnit :: Type | 9 | 'MyUnit :: Type |
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn04.reject.lc:2:6: | 10 | !already defined 'MyUnit at typesyn04.reject.lc:2:6: |
11 | type MyUnit = () | 11 | type MyUnit = () |
12 | ^^^^^^ | 12 | ^^^^^^ |
13 | and at testdata/language-features/basic-values/typesyn04.reject.lc:1:6: | 13 | and at typesyn04.reject.lc:1:6: |
14 | type MyUnit = () | 14 | type MyUnit = () |
15 | ^^^^^^ | 15 | ^^^^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/basic-values/typesyn04.reject.lc 1:6-1:12 | 17 | typesyn04.reject.lc 1:6-1:12 |
18 | Type | 18 | Type |
19 | testdata/language-features/basic-values/typesyn04.reject.lc 1:15-1:17 | 19 | typesyn04.reject.lc 1:15-1:17 |
20 | Type | 20 | Type |
21 | testdata/language-features/basic-values/typesyn04.reject.lc 2:6-2:12 | 21 | typesyn04.reject.lc 2:6-2:12 |
22 | Type | 22 | Type |
23 | testdata/language-features/basic-values/typesyn04.reject.lc 2:15-2:17 | 23 | typesyn04.reject.lc 2:15-2:17 |
24 | Type \ No newline at end of file | 24 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/where01.out b/testdata/language-features/basic-values/where01.out index 45cdab5f..4c44def7 100644 --- a/testdata/language-features/basic-values/where01.out +++ b/testdata/language-features/basic-values/where01.out | |||
@@ -55,75 +55,75 @@ value8 = _rhs () | |||
55 | value9 :: () | 55 | value9 :: () |
56 | value9 = _rhs () | 56 | value9 = _rhs () |
57 | ------------ tooltips | 57 | ------------ tooltips |
58 | testdata/language-features/basic-values/where01.lc 1:1-1:7 | 58 | where01.lc 1:1-1:7 |
59 | () | 59 | () |
60 | testdata/language-features/basic-values/where01.lc 1:10-1:12 | 60 | where01.lc 1:10-1:12 |
61 | () | 61 | () |
62 | testdata/language-features/basic-values/where01.lc 1:23-1:25 | 62 | where01.lc 1:23-1:25 |
63 | () | 63 | () |
64 | testdata/language-features/basic-values/where01.lc 3:1-3:7 | 64 | where01.lc 3:1-3:7 |
65 | () | 65 | () |
66 | testdata/language-features/basic-values/where01.lc 3:10-3:11 | 66 | where01.lc 3:10-3:11 |
67 | () | 67 | () |
68 | testdata/language-features/basic-values/where01.lc 4:12-4:14 | 68 | where01.lc 4:12-4:14 |
69 | () | 69 | () |
70 | testdata/language-features/basic-values/where01.lc 6:1-6:7 | 70 | where01.lc 6:1-6:7 |
71 | () | 71 | () |
72 | testdata/language-features/basic-values/where01.lc 6:10-6:11 | 72 | where01.lc 6:10-6:11 |
73 | () | 73 | () |
74 | testdata/language-features/basic-values/where01.lc 7:12-7:14 | 74 | where01.lc 7:12-7:14 |
75 | () | 75 | () |
76 | testdata/language-features/basic-values/where01.lc 8:12-8:14 | 76 | where01.lc 8:12-8:14 |
77 | () | 77 | () |
78 | testdata/language-features/basic-values/where01.lc 10:1-10:7 | 78 | where01.lc 10:1-10:7 |
79 | () | 79 | () |
80 | testdata/language-features/basic-values/where01.lc 10:10-10:11 | 80 | where01.lc 10:10-10:11 |
81 | () | 81 | () |
82 | testdata/language-features/basic-values/where01.lc 12:6-12:8 | 82 | where01.lc 12:6-12:8 |
83 | () | 83 | () |
84 | testdata/language-features/basic-values/where01.lc 13:6-13:8 | 84 | where01.lc 13:6-13:8 |
85 | () | 85 | () |
86 | testdata/language-features/basic-values/where01.lc 15:1-15:7 | 86 | where01.lc 15:1-15:7 |
87 | () | 87 | () |
88 | testdata/language-features/basic-values/where01.lc 15:10-15:11 | 88 | where01.lc 15:10-15:11 |
89 | () | 89 | () |
90 | testdata/language-features/basic-values/where01.lc 17:7-17:9 | 90 | where01.lc 17:7-17:9 |
91 | () | 91 | () |
92 | testdata/language-features/basic-values/where01.lc 18:7-18:9 | 92 | where01.lc 18:7-18:9 |
93 | () | 93 | () |
94 | testdata/language-features/basic-values/where01.lc 20:1-20:7 | 94 | where01.lc 20:1-20:7 |
95 | () | 95 | () |
96 | testdata/language-features/basic-values/where01.lc 20:10-20:12 | 96 | where01.lc 20:10-20:12 |
97 | () | 97 | () |
98 | testdata/language-features/basic-values/where01.lc 22:1-22:7 | 98 | where01.lc 22:1-22:7 |
99 | () | 99 | () |
100 | testdata/language-features/basic-values/where01.lc 22:10-22:12 | 100 | where01.lc 22:10-22:12 |
101 | () | 101 | () |
102 | testdata/language-features/basic-values/where01.lc 25:1-25:7 | 102 | where01.lc 25:1-25:7 |
103 | () | 103 | () |
104 | testdata/language-features/basic-values/where01.lc 25:10-25:12 | 104 | where01.lc 25:10-25:12 |
105 | () | 105 | () |
106 | testdata/language-features/basic-values/where01.lc 30:1-30:7 | 106 | where01.lc 30:1-30:7 |
107 | () | 107 | () |
108 | testdata/language-features/basic-values/where01.lc 30:10-30:11 | 108 | where01.lc 30:10-30:11 |
109 | () | 109 | () |
110 | testdata/language-features/basic-values/where01.lc 34:7-34:9 | 110 | where01.lc 34:7-34:9 |
111 | () | 111 | () |
112 | testdata/language-features/basic-values/where01.lc 35:7-35:9 | 112 | where01.lc 35:7-35:9 |
113 | () | 113 | () |
114 | testdata/language-features/basic-values/where01.lc 37:1-37:8 | 114 | where01.lc 37:1-37:8 |
115 | () | 115 | () |
116 | testdata/language-features/basic-values/where01.lc 37:11-37:12 | 116 | where01.lc 37:11-37:12 |
117 | () | 117 | () |
118 | testdata/language-features/basic-values/where01.lc 39:6-39:8 | 118 | where01.lc 39:6-39:8 |
119 | () | 119 | () |
120 | testdata/language-features/basic-values/where01.lc 40:6-40:8 | 120 | where01.lc 40:6-40:8 |
121 | () | 121 | () |
122 | testdata/language-features/basic-values/where01.lc 42:1-42:8 | 122 | where01.lc 42:1-42:8 |
123 | () | 123 | () |
124 | testdata/language-features/basic-values/where01.lc 42:11-42:12 | 124 | where01.lc 42:11-42:12 |
125 | () | 125 | () |
126 | testdata/language-features/basic-values/where01.lc 43:6-43:8 | 126 | where01.lc 43:6-43:8 |
127 | () | 127 | () |
128 | testdata/language-features/basic-values/where01.lc 44:6-44:8 | 128 | where01.lc 44:6-44:8 |
129 | () \ No newline at end of file | 129 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/where04.out b/testdata/language-features/basic-values/where04.out index 0c247314..06d51b41 100644 --- a/testdata/language-features/basic-values/where04.out +++ b/testdata/language-features/basic-values/where04.out | |||
@@ -15,27 +15,27 @@ value2 = _rhs () | |||
15 | value3 :: () | 15 | value3 :: () |
16 | value3 = _rhs () | 16 | value3 = _rhs () |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/basic-values/where04.lc 1:1-1:7 | 18 | where04.lc 1:1-1:7 |
19 | () | 19 | () |
20 | testdata/language-features/basic-values/where04.lc 1:18-1:19 | 20 | where04.lc 1:18-1:19 |
21 | () | 21 | () |
22 | testdata/language-features/basic-values/where04.lc 1:30-1:32 | 22 | where04.lc 1:30-1:32 |
23 | () | 23 | () |
24 | testdata/language-features/basic-values/where04.lc 1:36-1:37 | 24 | where04.lc 1:36-1:37 |
25 | () | 25 | () |
26 | testdata/language-features/basic-values/where04.lc 3:1-3:7 | 26 | where04.lc 3:1-3:7 |
27 | () | 27 | () |
28 | testdata/language-features/basic-values/where04.lc 3:18-3:19 | 28 | where04.lc 3:18-3:19 |
29 | () | 29 | () |
30 | testdata/language-features/basic-values/where04.lc 4:25-4:27 | 30 | where04.lc 4:25-4:27 |
31 | () | 31 | () |
32 | testdata/language-features/basic-values/where04.lc 5:13-5:14 | 32 | where04.lc 5:13-5:14 |
33 | () | 33 | () |
34 | testdata/language-features/basic-values/where04.lc 7:1-7:7 | 34 | where04.lc 7:1-7:7 |
35 | () | 35 | () |
36 | testdata/language-features/basic-values/where04.lc 7:18-7:19 | 36 | where04.lc 7:18-7:19 |
37 | () | 37 | () |
38 | testdata/language-features/basic-values/where04.lc 9:19-9:21 | 38 | where04.lc 9:19-9:21 |
39 | () | 39 | () |
40 | testdata/language-features/basic-values/where04.lc 10:13-10:14 | 40 | where04.lc 10:13-10:14 |
41 | () \ No newline at end of file | 41 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/where05.out b/testdata/language-features/basic-values/where05.out index 768de934..e371d656 100644 --- a/testdata/language-features/basic-values/where05.out +++ b/testdata/language-features/basic-values/where05.out | |||
@@ -48,59 +48,59 @@ value4 | |||
48 | = \a b c -> _rhs | 48 | = \a b c -> _rhs |
49 | (case'Bool (\_ -> ' ()) () () ((a == b) (fromInt a c 1) (fromInt a c 1))) | 49 | (case'Bool (\_ -> ' ()) () () ((a == b) (fromInt a c 1) (fromInt a c 1))) |
50 | ------------ tooltips | 50 | ------------ tooltips |
51 | testdata/language-features/basic-values/where05.lc 1:1-1:7 | 51 | where05.lc 1:1-1:7 |
52 | forall a . (Eq a, Num a) => () | 52 | forall a . (Eq a, Num a) => () |
53 | testdata/language-features/basic-values/where05.lc 1:10-3:10 | 53 | where05.lc 1:10-3:10 |
54 | () | 54 | () |
55 | testdata/language-features/basic-values/where05.lc 1:15-1:16 | 55 | where05.lc 1:15-1:16 |
56 | _b | 56 | _b |
57 | testdata/language-features/basic-values/where05.lc 2:8-2:9 | 57 | where05.lc 2:8-2:9 |
58 | () | 58 | () |
59 | testdata/language-features/basic-values/where05.lc 2:8-3:10 | 59 | where05.lc 2:8-3:10 |
60 | Bool -> () | 60 | Bool -> () |
61 | testdata/language-features/basic-values/where05.lc 2:20-2:22 | 61 | where05.lc 2:20-2:22 |
62 | () | 62 | () |
63 | testdata/language-features/basic-values/where05.lc 3:8-3:10 | 63 | where05.lc 3:8-3:10 |
64 | () | 64 | () |
65 | testdata/language-features/basic-values/where05.lc 5:1-5:7 | 65 | where05.lc 5:1-5:7 |
66 | forall a . (Eq a, Num a) => () | 66 | forall a . (Eq a, Num a) => () |
67 | testdata/language-features/basic-values/where05.lc 5:10-8:10 | 67 | where05.lc 5:10-8:10 |
68 | () | 68 | () |
69 | testdata/language-features/basic-values/where05.lc 5:15-5:16 | 69 | where05.lc 5:15-5:16 |
70 | _b | 70 | _b |
71 | testdata/language-features/basic-values/where05.lc 6:8-6:9 | 71 | where05.lc 6:8-6:9 |
72 | () | 72 | () |
73 | testdata/language-features/basic-values/where05.lc 6:8-8:10 | 73 | where05.lc 6:8-8:10 |
74 | Bool -> () | 74 | Bool -> () |
75 | testdata/language-features/basic-values/where05.lc 7:14-7:16 | 75 | where05.lc 7:14-7:16 |
76 | () | 76 | () |
77 | testdata/language-features/basic-values/where05.lc 8:8-8:10 | 77 | where05.lc 8:8-8:10 |
78 | () | 78 | () |
79 | testdata/language-features/basic-values/where05.lc 10:1-10:7 | 79 | where05.lc 10:1-10:7 |
80 | forall a . (Eq a, Num a) => () | 80 | forall a . (Eq a, Num a) => () |
81 | testdata/language-features/basic-values/where05.lc 10:10-14:10 | 81 | where05.lc 10:10-14:10 |
82 | () | 82 | () |
83 | testdata/language-features/basic-values/where05.lc 10:15-10:16 | 83 | where05.lc 10:15-10:16 |
84 | _b | 84 | _b |
85 | testdata/language-features/basic-values/where05.lc 11:8-11:9 | 85 | where05.lc 11:8-11:9 |
86 | () | 86 | () |
87 | testdata/language-features/basic-values/where05.lc 11:8-14:10 | 87 | where05.lc 11:8-14:10 |
88 | Bool -> () | 88 | Bool -> () |
89 | testdata/language-features/basic-values/where05.lc 13:8-13:10 | 89 | where05.lc 13:8-13:10 |
90 | () | 90 | () |
91 | testdata/language-features/basic-values/where05.lc 14:8-14:10 | 91 | where05.lc 14:8-14:10 |
92 | () | 92 | () |
93 | testdata/language-features/basic-values/where05.lc 16:1-16:7 | 93 | where05.lc 16:1-16:7 |
94 | forall a . (Eq a, Num a) => () | 94 | forall a . (Eq a, Num a) => () |
95 | testdata/language-features/basic-values/where05.lc 16:10-18:10 | 95 | where05.lc 16:10-18:10 |
96 | () | 96 | () |
97 | testdata/language-features/basic-values/where05.lc 16:15-16:16 | 97 | where05.lc 16:15-16:16 |
98 | _b | 98 | _b |
99 | testdata/language-features/basic-values/where05.lc 17:8-17:9 | 99 | where05.lc 17:8-17:9 |
100 | () | 100 | () |
101 | testdata/language-features/basic-values/where05.lc 17:8-18:10 | 101 | where05.lc 17:8-18:10 |
102 | Bool -> () | 102 | Bool -> () |
103 | testdata/language-features/basic-values/where05.lc 18:8-18:10 | 103 | where05.lc 18:8-18:10 |
104 | () | 104 | () |
105 | testdata/language-features/basic-values/where05.lc 21:6-21:8 | 105 | where05.lc 21:6-21:8 |
106 | () \ No newline at end of file | 106 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/where06.reject.out b/testdata/language-features/basic-values/where06.reject.out index 819ead1f..8040bdc1 100644 --- a/testdata/language-features/basic-values/where06.reject.out +++ b/testdata/language-features/basic-values/where06.reject.out | |||
@@ -1,8 +1,8 @@ | |||
1 | testdata/language-features/basic-values/where06.reject.lc:7:1: | 1 | testdata/language-features/basic-values/where06.reject.lc:7:1: |
2 | redefined x: | 2 | redefined x: |
3 | testdata/language-features/basic-values/where06.reject.lc:3:1: | 3 | where06.reject.lc:3:1: |
4 | x = y where | 4 | x = y where |
5 | ^ | 5 | ^ |
6 | testdata/language-features/basic-values/where06.reject.lc:5:1: | 6 | where06.reject.lc:5:1: |
7 | x = 'c' | 7 | x = 'c' |
8 | ^ | 8 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/basic-values/wildcard01.out b/testdata/language-features/basic-values/wildcard01.out index 4f954c87..0bc8489b 100644 --- a/testdata/language-features/basic-values/wildcard01.out +++ b/testdata/language-features/basic-values/wildcard01.out | |||
@@ -5,7 +5,7 @@ funUnit = _lhs funUnit \(_ :: _) -> _rhs () | |||
5 | funUnit :: forall a . a -> () | 5 | funUnit :: forall a . a -> () |
6 | funUnit = \a _ -> _rhs () | 6 | funUnit = \a _ -> _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/basic-values/wildcard01.lc 1:1-1:8 | 8 | wildcard01.lc 1:1-1:8 |
9 | forall a . a -> () | 9 | forall a . a -> () |
10 | testdata/language-features/basic-values/wildcard01.lc 1:13-1:15 | 10 | wildcard01.lc 1:13-1:15 |
11 | () \ No newline at end of file | 11 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard01.out b/testdata/language-features/guard/guard01.out index e32f6dfc..45729a6c 100644 --- a/testdata/language-features/guard/guard01.out +++ b/testdata/language-features/guard/guard01.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (case'Bool (\(_ :: _) -> _) (_rhs undefined) (_rhs ()) True) | |||
5 | value :: () | 5 | value :: () |
6 | value = _rhs () | 6 | value = _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/guard/guard01.lc 1:1-1:6 | 8 | guard01.lc 1:1-1:6 |
9 | () | 9 | () |
10 | testdata/language-features/guard/guard01.lc 1:9-1:13 | 10 | guard01.lc 1:9-1:13 |
11 | Bool | 11 | Bool |
12 | testdata/language-features/guard/guard01.lc 1:9-1:18 | 12 | guard01.lc 1:9-1:18 |
13 | () | 13 | () |
14 | testdata/language-features/guard/guard01.lc 1:16-1:18 | 14 | guard01.lc 1:16-1:18 |
15 | () \ No newline at end of file | 15 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard02.reject.out b/testdata/language-features/guard/guard02.reject.out index 2b32bd9f..9b6a2e7a 100644 --- a/testdata/language-features/guard/guard02.reject.out +++ b/testdata/language-features/guard/guard02.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | String | 2 | String |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 5 | in guard02.reject.lc:2:12: |
6 | | True = () | 6 | | True = () |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,15 +10,15 @@ in testdata/language-features/guard/guard02.reject.lc:2:12: | |||
10 | String | 10 | String |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 13 | in guard02.reject.lc:2:12: |
14 | | True = () | 14 | | True = () |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/guard/guard02.reject.lc 2:12-2:14 | 17 | guard02.reject.lc 2:12-2:14 |
18 | () | 18 | () |
19 | testdata/language-features/guard/guard02.reject.lc 3:5-3:10 | 19 | guard02.reject.lc 3:5-3:10 |
20 | Bool | 20 | Bool |
21 | testdata/language-features/guard/guard02.reject.lc 3:5-3:15 | 21 | guard02.reject.lc 3:5-3:15 |
22 | String | 22 | String |
23 | testdata/language-features/guard/guard02.reject.lc 3:13-3:15 | 23 | guard02.reject.lc 3:13-3:15 |
24 | String \ No newline at end of file | 24 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard03.out b/testdata/language-features/guard/guard03.out index 794931e9..7885a6f1 100644 --- a/testdata/language-features/guard/guard03.out +++ b/testdata/language-features/guard/guard03.out | |||
@@ -12,19 +12,19 @@ value | |||
12 | value :: String | 12 | value :: String |
13 | value = _rhs "True" | 13 | value = _rhs "True" |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/guard/guard03.lc 1:1-1:6 | 15 | guard03.lc 1:1-1:6 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard03.lc 2:5-2:9 | 17 | guard03.lc 2:5-2:9 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/guard/guard03.lc 2:5-3:20 | 19 | guard03.lc 2:5-3:20 |
20 | String | 20 | String |
21 | testdata/language-features/guard/guard03.lc 2:12-2:18 | 21 | guard03.lc 2:12-2:18 |
22 | String | 22 | String |
23 | testdata/language-features/guard/guard03.lc 2:12-3:20 | 23 | guard03.lc 2:12-3:20 |
24 | Bool -> String | 24 | Bool -> String |
25 | testdata/language-features/guard/guard03.lc 3:5-3:10 | 25 | guard03.lc 3:5-3:10 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/guard/guard03.lc 3:5-3:20 | 27 | guard03.lc 3:5-3:20 |
28 | String | 28 | String |
29 | testdata/language-features/guard/guard03.lc 3:13-3:20 | 29 | guard03.lc 3:13-3:20 |
30 | String \ No newline at end of file | 30 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard04.out b/testdata/language-features/guard/guard04.out index 6c87ff14..ca03fda8 100644 --- a/testdata/language-features/guard/guard04.out +++ b/testdata/language-features/guard/guard04.out | |||
@@ -6,15 +6,15 @@ value | |||
6 | value :: String | 6 | value :: String |
7 | value = _rhs "True" | 7 | value = _rhs "True" |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/guard/guard04.lc 1:1-1:6 | 9 | guard04.lc 1:1-1:6 |
10 | String | 10 | String |
11 | testdata/language-features/guard/guard04.lc 2:5-2:9 | 11 | guard04.lc 2:5-2:9 |
12 | Bool | 12 | Bool |
13 | testdata/language-features/guard/guard04.lc 2:5-3:24 | 13 | guard04.lc 2:5-3:24 |
14 | String | 14 | String |
15 | testdata/language-features/guard/guard04.lc 2:12-2:18 | 15 | guard04.lc 2:12-2:18 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard04.lc 2:12-3:24 | 17 | guard04.lc 2:12-3:24 |
18 | Bool -> String | 18 | Bool -> String |
19 | testdata/language-features/guard/guard04.lc 3:17-3:24 | 19 | guard04.lc 3:17-3:24 |
20 | String \ No newline at end of file | 20 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard05.reject.out b/testdata/language-features/guard/guard05.reject.out index c9e74395..4bd522c3 100644 --- a/testdata/language-features/guard/guard05.reject.out +++ b/testdata/language-features/guard/guard05.reject.out | |||
@@ -1,24 +1,24 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 2 | 'Internals.lc:63:6: |
3 | data Bool = False | True | 3 | data Bool = False | True |
4 | ^^^^ | 4 | ^^^^ |
5 | with | 5 | with |
6 | () | 6 | () |
7 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 7 | in guard05.reject.lc:1:9: |
8 | value | () = "wrong" | 8 | value | () = "wrong" |
9 | ^^ | 9 | ^^ |
10 | ------------ trace | 10 | ------------ trace |
11 | !type error: can not unify | 11 | !type error: can not unify |
12 | /home/divip/.cabal/share/x86_64-linux-ghc-7.10.3/lambdacube-compiler-0.6.0.0/lc/Internals.lc:63:6: | 12 | 'Internals.lc:63:6: |
13 | data Bool = False | True | 13 | data Bool = False | True |
14 | ^^^^ | 14 | ^^^^ |
15 | with | 15 | with |
16 | () | 16 | () |
17 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 17 | in guard05.reject.lc:1:9: |
18 | value | () = "wrong" | 18 | value | () = "wrong" |
19 | ^^ | 19 | ^^ |
20 | ------------ tooltips | 20 | ------------ tooltips |
21 | testdata/language-features/guard/guard05.reject.lc 1:9-1:11 | 21 | guard05.reject.lc 1:9-1:11 |
22 | () | 22 | () |
23 | testdata/language-features/guard/guard05.reject.lc 1:14-1:21 | 23 | guard05.reject.lc 1:14-1:21 |
24 | String \ No newline at end of file | 24 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard06.out b/testdata/language-features/guard/guard06.out index 778d4a8d..a3a9c465 100644 --- a/testdata/language-features/guard/guard06.out +++ b/testdata/language-features/guard/guard06.out | |||
@@ -5,7 +5,7 @@ value = _lhs value (_rhs ()) | |||
5 | value :: () | 5 | value :: () |
6 | value = _rhs () | 6 | value = _rhs () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/guard/guard06.lc 1:1-1:6 | 8 | guard06.lc 1:1-1:6 |
9 | () | 9 | () |
10 | testdata/language-features/guard/guard06.lc 1:21-1:23 | 10 | guard06.lc 1:21-1:23 |
11 | () \ No newline at end of file | 11 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard07.out b/testdata/language-features/guard/guard07.out index 06c8a716..5aa760b0 100644 --- a/testdata/language-features/guard/guard07.out +++ b/testdata/language-features/guard/guard07.out | |||
@@ -12,19 +12,19 @@ value | |||
12 | value :: String | 12 | value :: String |
13 | value = _rhs "True" | 13 | value = _rhs "True" |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/guard/guard07.lc 1:1-1:6 | 15 | guard07.lc 1:1-1:6 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard07.lc 1:7-1:11 | 17 | guard07.lc 1:7-1:11 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/guard/guard07.lc 1:7-2:20 | 19 | guard07.lc 1:7-2:20 |
20 | String | 20 | String |
21 | testdata/language-features/guard/guard07.lc 1:12-1:18 | 21 | guard07.lc 1:12-1:18 |
22 | String | 22 | String |
23 | testdata/language-features/guard/guard07.lc 1:12-2:20 | 23 | guard07.lc 1:12-2:20 |
24 | Bool -> String | 24 | Bool -> String |
25 | testdata/language-features/guard/guard07.lc 2:7-2:12 | 25 | guard07.lc 2:7-2:12 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/guard/guard07.lc 2:7-2:20 | 27 | guard07.lc 2:7-2:20 |
28 | String | 28 | String |
29 | testdata/language-features/guard/guard07.lc 2:13-2:20 | 29 | guard07.lc 2:13-2:20 |
30 | String \ No newline at end of file | 30 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard08.out b/testdata/language-features/guard/guard08.out index 069c68c4..1a4835fa 100644 --- a/testdata/language-features/guard/guard08.out +++ b/testdata/language-features/guard/guard08.out | |||
@@ -12,19 +12,19 @@ value | |||
12 | value :: String | 12 | value :: String |
13 | value = _rhs "True" | 13 | value = _rhs "True" |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/guard/guard08.lc 1:1-1:6 | 15 | guard08.lc 1:1-1:6 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard08.lc 1:7-1:11 | 17 | guard08.lc 1:7-1:11 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/guard/guard08.lc 1:7-1:32 | 19 | guard08.lc 1:7-1:32 |
20 | String | 20 | String |
21 | testdata/language-features/guard/guard08.lc 1:12-1:18 | 21 | guard08.lc 1:12-1:18 |
22 | String | 22 | String |
23 | testdata/language-features/guard/guard08.lc 1:12-1:32 | 23 | guard08.lc 1:12-1:32 |
24 | Bool -> String | 24 | Bool -> String |
25 | testdata/language-features/guard/guard08.lc 1:19-1:24 | 25 | guard08.lc 1:19-1:24 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/guard/guard08.lc 1:19-1:32 | 27 | guard08.lc 1:19-1:32 |
28 | String | 28 | String |
29 | testdata/language-features/guard/guard08.lc 1:25-1:32 | 29 | guard08.lc 1:25-1:32 |
30 | String \ No newline at end of file | 30 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard09.out b/testdata/language-features/guard/guard09.out index b7c3f36e..bb429584 100644 --- a/testdata/language-features/guard/guard09.out +++ b/testdata/language-features/guard/guard09.out | |||
@@ -12,19 +12,19 @@ value | |||
12 | value :: String | 12 | value :: String |
13 | value = _rhs "True" | 13 | value = _rhs "True" |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/guard/guard09.lc 1:1-1:6 | 15 | guard09.lc 1:1-1:6 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard09.lc 1:7-1:11 | 17 | guard09.lc 1:7-1:11 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/guard/guard09.lc 1:7-2:16 | 19 | guard09.lc 1:7-2:16 |
20 | String | 20 | String |
21 | testdata/language-features/guard/guard09.lc 1:12-1:18 | 21 | guard09.lc 1:12-1:18 |
22 | String | 22 | String |
23 | testdata/language-features/guard/guard09.lc 1:12-2:16 | 23 | guard09.lc 1:12-2:16 |
24 | Bool -> String | 24 | Bool -> String |
25 | testdata/language-features/guard/guard09.lc 2:3-2:8 | 25 | guard09.lc 2:3-2:8 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/guard/guard09.lc 2:3-2:16 | 27 | guard09.lc 2:3-2:16 |
28 | String | 28 | String |
29 | testdata/language-features/guard/guard09.lc 2:9-2:16 | 29 | guard09.lc 2:9-2:16 |
30 | String \ No newline at end of file | 30 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard11.out b/testdata/language-features/guard/guard11.out index ea80eef0..5331cf7a 100644 --- a/testdata/language-features/guard/guard11.out +++ b/testdata/language-features/guard/guard11.out | |||
@@ -8,15 +8,15 @@ fun | |||
8 | fun :: Bool -> String | 8 | fun :: Bool -> String |
9 | fun = \a -> case'Bool (\_ -> 'String) (_rhs "False") (_rhs "True") a | 9 | fun = \a -> case'Bool (\_ -> 'String) (_rhs "False") (_rhs "True") a |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | testdata/language-features/guard/guard11.lc 1:1-1:4 | 11 | guard11.lc 1:1-1:4 |
12 | Bool -> String | 12 | Bool -> String |
13 | testdata/language-features/guard/guard11.lc 2:5-2:6 | 13 | guard11.lc 2:5-2:6 |
14 | _b | 14 | _b |
15 | testdata/language-features/guard/guard11.lc 2:5-3:24 | 15 | guard11.lc 2:5-3:24 |
16 | String | 16 | String |
17 | testdata/language-features/guard/guard11.lc 2:9-2:15 | 17 | guard11.lc 2:9-2:15 |
18 | String | 18 | String |
19 | testdata/language-features/guard/guard11.lc 2:9-3:24 | 19 | guard11.lc 2:9-3:24 |
20 | Bool -> String | 20 | Bool -> String |
21 | testdata/language-features/guard/guard11.lc 3:17-3:24 | 21 | guard11.lc 3:17-3:24 |
22 | String \ No newline at end of file | 22 | String \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard12.reject.out b/testdata/language-features/guard/guard12.reject.out index bae92b68..62e7ef65 100644 --- a/testdata/language-features/guard/guard12.reject.out +++ b/testdata/language-features/guard/guard12.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | Char | 2 | Char |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 5 | in guard12.reject.lc:1:13: |
6 | fun x | x = () | otherwise = 'a' | 6 | fun x | x = () | otherwise = 'a' |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,11 +10,11 @@ fun x | x = () | otherwise = 'a' | |||
10 | Char | 10 | Char |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 13 | in guard12.reject.lc:1:13: |
14 | fun x | x = () | otherwise = 'a' | 14 | fun x | x = () | otherwise = 'a' |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/guard/guard12.reject.lc 1:13-1:15 | 17 | guard12.reject.lc 1:13-1:15 |
18 | () | 18 | () |
19 | testdata/language-features/guard/guard12.reject.lc 1:30-1:33 | 19 | guard12.reject.lc 1:30-1:33 |
20 | Char \ No newline at end of file | 20 | Char \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard13.out b/testdata/language-features/guard/guard13.out index 6f9005bc..9926ad37 100644 --- a/testdata/language-features/guard/guard13.out +++ b/testdata/language-features/guard/guard13.out | |||
@@ -5,15 +5,15 @@ fun = _lhs fun \(a :: _) -> case'Bool (\(_ :: _) -> _) (_rhs ()) (_rhs ()) a | |||
5 | fun :: Bool -> () | 5 | fun :: Bool -> () |
6 | fun = \a -> case'Bool (\_ -> ' ()) (_rhs ()) (_rhs ()) a | 6 | fun = \a -> case'Bool (\_ -> ' ()) (_rhs ()) (_rhs ()) a |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/guard/guard13.lc 1:1-1:4 | 8 | guard13.lc 1:1-1:4 |
9 | Bool -> () | 9 | Bool -> () |
10 | testdata/language-features/guard/guard13.lc 1:7-1:8 | 10 | guard13.lc 1:7-1:8 |
11 | _b | 11 | _b |
12 | testdata/language-features/guard/guard13.lc 1:7-1:24 | 12 | guard13.lc 1:7-1:24 |
13 | () | 13 | () |
14 | testdata/language-features/guard/guard13.lc 1:9-1:11 | 14 | guard13.lc 1:9-1:11 |
15 | () | 15 | () |
16 | testdata/language-features/guard/guard13.lc 1:9-1:24 | 16 | guard13.lc 1:9-1:24 |
17 | Bool -> () | 17 | Bool -> () |
18 | testdata/language-features/guard/guard13.lc 1:22-1:24 | 18 | guard13.lc 1:22-1:24 |
19 | () \ No newline at end of file | 19 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard14.out b/testdata/language-features/guard/guard14.out index 1a0acd2a..800e6870 100644 --- a/testdata/language-features/guard/guard14.out +++ b/testdata/language-features/guard/guard14.out | |||
@@ -9,17 +9,17 @@ value | |||
9 | value :: () | 9 | value :: () |
10 | value = _rhs () | 10 | value = _rhs () |
11 | ------------ tooltips | 11 | ------------ tooltips |
12 | testdata/language-features/guard/guard14.lc 1:1-1:6 | 12 | guard14.lc 1:1-1:6 |
13 | () | 13 | () |
14 | testdata/language-features/guard/guard14.lc 1:17-1:21 | 14 | guard14.lc 1:17-1:21 |
15 | Bool | 15 | Bool |
16 | testdata/language-features/guard/guard14.lc 1:17-2:31 | 16 | guard14.lc 1:17-2:31 |
17 | () | 17 | () |
18 | testdata/language-features/guard/guard14.lc 1:24-1:26 | 18 | guard14.lc 1:24-1:26 |
19 | () | 19 | () |
20 | testdata/language-features/guard/guard14.lc 1:24-2:31 | 20 | guard14.lc 1:24-2:31 |
21 | Bool -> () | 21 | Bool -> () |
22 | testdata/language-features/guard/guard14.lc 2:29-2:31 | 22 | guard14.lc 2:29-2:31 |
23 | () | 23 | () |
24 | testdata/language-features/guard/guard14.lc 3:12-3:14 | 24 | guard14.lc 3:12-3:14 |
25 | () \ No newline at end of file | 25 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard15.out b/testdata/language-features/guard/guard15.out index 9314863f..316411db 100644 --- a/testdata/language-features/guard/guard15.out +++ b/testdata/language-features/guard/guard15.out | |||
@@ -9,17 +9,17 @@ value | |||
9 | value :: () | 9 | value :: () |
10 | value = _rhs () | 10 | value = _rhs () |
11 | ------------ tooltips | 11 | ------------ tooltips |
12 | testdata/language-features/guard/guard15.lc 1:1-1:6 | 12 | guard15.lc 1:1-1:6 |
13 | () | 13 | () |
14 | testdata/language-features/guard/guard15.lc 1:9-1:11 | 14 | guard15.lc 1:9-1:11 |
15 | () | 15 | () |
16 | testdata/language-features/guard/guard15.lc 2:13-2:17 | 16 | guard15.lc 2:13-2:17 |
17 | Bool | 17 | Bool |
18 | testdata/language-features/guard/guard15.lc 2:13-3:27 | 18 | guard15.lc 2:13-3:27 |
19 | () | 19 | () |
20 | testdata/language-features/guard/guard15.lc 2:20-2:22 | 20 | guard15.lc 2:20-2:22 |
21 | () | 21 | () |
22 | testdata/language-features/guard/guard15.lc 2:20-3:27 | 22 | guard15.lc 2:20-3:27 |
23 | Bool -> () | 23 | Bool -> () |
24 | testdata/language-features/guard/guard15.lc 3:25-3:27 | 24 | guard15.lc 3:25-3:27 |
25 | () \ No newline at end of file | 25 | () \ No newline at end of file |
diff --git a/testdata/language-features/guard/guard16.out b/testdata/language-features/guard/guard16.out index a9867165..d616cb60 100644 --- a/testdata/language-features/guard/guard16.out +++ b/testdata/language-features/guard/guard16.out | |||
@@ -16,19 +16,19 @@ value | |||
16 | = \a b c -> _rhs | 16 | = \a b c -> _rhs |
17 | (case'Bool (\_ -> ' ()) () () ((a == b) (fromInt a c 1) (fromInt a c 1))) | 17 | (case'Bool (\_ -> ' ()) () () ((a == b) (fromInt a c 1) (fromInt a c 1))) |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | testdata/language-features/guard/guard16.lc 1:1-1:6 | 19 | guard16.lc 1:1-1:6 |
20 | forall a . (Eq a, Num a) => () | 20 | forall a . (Eq a, Num a) => () |
21 | testdata/language-features/guard/guard16.lc 1:9-3:10 | 21 | guard16.lc 1:9-3:10 |
22 | () | 22 | () |
23 | testdata/language-features/guard/guard16.lc 1:14-1:15 | 23 | guard16.lc 1:14-1:15 |
24 | _b | 24 | _b |
25 | testdata/language-features/guard/guard16.lc 2:7-2:11 | 25 | guard16.lc 2:7-2:11 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/guard/guard16.lc 2:7-3:10 | 27 | guard16.lc 2:7-3:10 |
28 | () | 28 | () |
29 | testdata/language-features/guard/guard16.lc 2:15-2:17 | 29 | guard16.lc 2:15-2:17 |
30 | () | 30 | () |
31 | testdata/language-features/guard/guard16.lc 2:15-3:10 | 31 | guard16.lc 2:15-3:10 |
32 | Bool -> () | 32 | Bool -> () |
33 | testdata/language-features/guard/guard16.lc 3:8-3:10 | 33 | guard16.lc 3:8-3:10 |
34 | () | () \ No newline at end of file | 34 | () | () \ No newline at end of file |
diff --git a/testdata/language-features/module/Hello01.out b/testdata/language-features/module/Hello01.out index 30490325..acb7ff5c 100644 --- a/testdata/language-features/module/Hello01.out +++ b/testdata/language-features/module/Hello01.out | |||
@@ -10,11 +10,11 @@ hello = _rhs "hello" | |||
10 | world :: String | 10 | world :: String |
11 | world = _rhs "world" | 11 | world = _rhs "world" |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/module/Hello01.lc 3:1-3:6 | 13 | Hello01.lc 3:1-3:6 |
14 | String | 14 | String |
15 | testdata/language-features/module/Hello01.lc 3:9-3:16 | 15 | Hello01.lc 3:9-3:16 |
16 | String | 16 | String |
17 | testdata/language-features/module/Hello01.lc 4:1-4:6 | 17 | Hello01.lc 4:1-4:6 |
18 | String | 18 | String |
19 | testdata/language-features/module/Hello01.lc 4:9-4:16 | 19 | Hello01.lc 4:9-4:16 |
20 | String \ No newline at end of file | 20 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Hello02.out b/testdata/language-features/module/Hello02.out index 4a12836e..8fc92bd1 100644 --- a/testdata/language-features/module/Hello02.out +++ b/testdata/language-features/module/Hello02.out | |||
@@ -7,11 +7,11 @@ world = _lhs world (_rhs "world") | |||
7 | hello :: String | 7 | hello :: String |
8 | hello = _rhs "hello" | 8 | hello = _rhs "hello" |
9 | ------------ tooltips | 9 | ------------ tooltips |
10 | testdata/language-features/module/Hello02.lc 3:1-3:6 | 10 | Hello02.lc 3:1-3:6 |
11 | String | 11 | String |
12 | testdata/language-features/module/Hello02.lc 3:9-3:16 | 12 | Hello02.lc 3:9-3:16 |
13 | String | 13 | String |
14 | testdata/language-features/module/Hello02.lc 4:1-4:6 | 14 | Hello02.lc 4:1-4:6 |
15 | String | 15 | String |
16 | testdata/language-features/module/Hello02.lc 4:9-4:16 | 16 | Hello02.lc 4:9-4:16 |
17 | String \ No newline at end of file | 17 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Hello03.out b/testdata/language-features/module/Hello03.out index 87981272..d74b2cc3 100644 --- a/testdata/language-features/module/Hello03.out +++ b/testdata/language-features/module/Hello03.out | |||
@@ -7,11 +7,11 @@ value = _lhs value (_rhs 12.2) | |||
7 | greeting :: Char | 7 | greeting :: Char |
8 | greeting = _rhs 'G' | 8 | greeting = _rhs 'G' |
9 | ------------ tooltips | 9 | ------------ tooltips |
10 | testdata/language-features/module/Hello03.lc 7:1-7:9 | 10 | Hello03.lc 7:1-7:9 |
11 | Char | 11 | Char |
12 | testdata/language-features/module/Hello03.lc 7:12-7:15 | 12 | Hello03.lc 7:12-7:15 |
13 | Char | 13 | Char |
14 | testdata/language-features/module/Hello03.lc 9:1-9:6 | 14 | Hello03.lc 9:1-9:6 |
15 | Float | 15 | Float |
16 | testdata/language-features/module/Hello03.lc 9:9-9:13 | 16 | Hello03.lc 9:9-9:13 |
17 | Float \ No newline at end of file | 17 | Float \ No newline at end of file |
diff --git a/testdata/language-features/module/ModulePackage/SubModule01.out b/testdata/language-features/module/ModulePackage/SubModule01.out index f4408bde..bed90636 100644 --- a/testdata/language-features/module/ModulePackage/SubModule01.out +++ b/testdata/language-features/module/ModulePackage/SubModule01.out | |||
@@ -5,7 +5,7 @@ hello = _lhs hello (_rhs "Hello") | |||
5 | hello :: String | 5 | hello :: String |
6 | hello = _rhs "Hello" | 6 | hello = _rhs "Hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:1-3:6 | 8 | ModulePackage.SubModule01.lc 3:1-3:6 |
9 | String | 9 | String |
10 | testdata/language-features/module/ModulePackage/SubModule01.lc 3:9-3:16 | 10 | ModulePackage.SubModule01.lc 3:9-3:16 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef06.out b/testdata/language-features/module/Moduledef06.out index 01116115..fbbd66bd 100644 --- a/testdata/language-features/module/Moduledef06.out +++ b/testdata/language-features/module/Moduledef06.out | |||
@@ -5,7 +5,7 @@ hello = _lhs hello (_rhs "hello") | |||
5 | hello :: String | 5 | hello :: String |
6 | hello = _rhs "hello" | 6 | hello = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/Moduledef06.lc 3:1-3:6 | 8 | Moduledef06.lc 3:1-3:6 |
9 | String | 9 | String |
10 | testdata/language-features/module/Moduledef06.lc 3:9-3:16 | 10 | Moduledef06.lc 3:9-3:16 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef07.out b/testdata/language-features/module/Moduledef07.out index 85bccf88..e10af01e 100644 --- a/testdata/language-features/module/Moduledef07.out +++ b/testdata/language-features/module/Moduledef07.out | |||
@@ -5,7 +5,7 @@ hello = _lhs hello (_rhs "hello") | |||
5 | hello :: String | 5 | hello :: String |
6 | hello = _rhs "hello" | 6 | hello = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/Moduledef07.lc 5:1-5:6 | 8 | Moduledef07.lc 5:1-5:6 |
9 | String | 9 | String |
10 | testdata/language-features/module/Moduledef07.lc 5:9-5:16 | 10 | Moduledef07.lc 5:9-5:16 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef08.out b/testdata/language-features/module/Moduledef08.out index 2c303d27..1c936e9a 100644 --- a/testdata/language-features/module/Moduledef08.out +++ b/testdata/language-features/module/Moduledef08.out | |||
@@ -3,7 +3,7 @@ main is not found | |||
3 | hello = _lhs hello (_rhs "hello") | 3 | hello = _lhs hello (_rhs "hello") |
4 | ------------ core code | 4 | ------------ core code |
5 | ------------ tooltips | 5 | ------------ tooltips |
6 | testdata/language-features/module/Moduledef08.lc 5:1-5:6 | 6 | Moduledef08.lc 5:1-5:6 |
7 | String | 7 | String |
8 | testdata/language-features/module/Moduledef08.lc 5:9-5:16 | 8 | Moduledef08.lc 5:9-5:16 |
9 | String \ No newline at end of file | 9 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef09.out b/testdata/language-features/module/Moduledef09.out index 077f20e4..63b912b4 100644 --- a/testdata/language-features/module/Moduledef09.out +++ b/testdata/language-features/module/Moduledef09.out | |||
@@ -7,11 +7,11 @@ world = _lhs world (_rhs "world") | |||
7 | hello :: String | 7 | hello :: String |
8 | hello = _rhs "hello" | 8 | hello = _rhs "hello" |
9 | ------------ tooltips | 9 | ------------ tooltips |
10 | testdata/language-features/module/Moduledef09.lc 5:1-5:6 | 10 | Moduledef09.lc 5:1-5:6 |
11 | String | 11 | String |
12 | testdata/language-features/module/Moduledef09.lc 5:9-5:16 | 12 | Moduledef09.lc 5:9-5:16 |
13 | String | 13 | String |
14 | testdata/language-features/module/Moduledef09.lc 6:1-6:6 | 14 | Moduledef09.lc 6:1-6:6 |
15 | String | 15 | String |
16 | testdata/language-features/module/Moduledef09.lc 6:9-6:16 | 16 | Moduledef09.lc 6:9-6:16 |
17 | String \ No newline at end of file | 17 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef10.out b/testdata/language-features/module/Moduledef10.out index b05b9d4c..21db80a9 100644 --- a/testdata/language-features/module/Moduledef10.out +++ b/testdata/language-features/module/Moduledef10.out | |||
@@ -12,15 +12,15 @@ hello = _rhs "hello" | |||
12 | world :: String | 12 | world :: String |
13 | world = _rhs "world" | 13 | world = _rhs "world" |
14 | ------------ tooltips | 14 | ------------ tooltips |
15 | testdata/language-features/module/Moduledef10.lc 6:1-6:6 | 15 | Moduledef10.lc 6:1-6:6 |
16 | String | 16 | String |
17 | testdata/language-features/module/Moduledef10.lc 6:9-6:16 | 17 | Moduledef10.lc 6:9-6:16 |
18 | String | 18 | String |
19 | testdata/language-features/module/Moduledef10.lc 7:1-7:6 | 19 | Moduledef10.lc 7:1-7:6 |
20 | String | 20 | String |
21 | testdata/language-features/module/Moduledef10.lc 7:9-7:16 | 21 | Moduledef10.lc 7:9-7:16 |
22 | String | 22 | String |
23 | testdata/language-features/module/Moduledef10.lc 9:1-9:6 | 23 | Moduledef10.lc 9:1-9:6 |
24 | () | 24 | () |
25 | testdata/language-features/module/Moduledef10.lc 9:9-9:11 | 25 | Moduledef10.lc 9:9-9:11 |
26 | () \ No newline at end of file | 26 | () \ No newline at end of file |
diff --git a/testdata/language-features/module/Moduledef13.out b/testdata/language-features/module/Moduledef13.out index 167125c8..a9c45ef0 100644 --- a/testdata/language-features/module/Moduledef13.out +++ b/testdata/language-features/module/Moduledef13.out | |||
@@ -5,7 +5,7 @@ hello = _lhs hello (_rhs "hello") | |||
5 | hello :: String | 5 | hello :: String |
6 | hello = _rhs "hello" | 6 | hello = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/Moduledef13.lc 3:1-3:6 | 8 | Moduledef13.lc 3:1-3:6 |
9 | String | 9 | String |
10 | testdata/language-features/module/Moduledef13.lc 3:9-3:16 | 10 | Moduledef13.lc 3:9-3:16 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/TypeSyn01Mod.out b/testdata/language-features/module/TypeSyn01Mod.out index 54a83cfe..1c298139 100644 --- a/testdata/language-features/module/TypeSyn01Mod.out +++ b/testdata/language-features/module/TypeSyn01Mod.out | |||
@@ -5,7 +5,7 @@ main is not found | |||
5 | 'MyUnit :: Type | 5 | 'MyUnit :: Type |
6 | 'MyUnit = _rhs ' () | 6 | 'MyUnit = _rhs ' () |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/TypeSyn01Mod.lc 2:6-2:12 | 8 | TypeSyn01Mod.lc 2:6-2:12 |
9 | Type | 9 | Type |
10 | testdata/language-features/module/TypeSyn01Mod.lc 2:15-2:17 | 10 | TypeSyn01Mod.lc 2:15-2:17 |
11 | Type \ No newline at end of file | 11 | Type \ No newline at end of file |
diff --git a/testdata/language-features/module/import01.out b/testdata/language-features/module/import01.out index 8705a150..7cde97f0 100644 --- a/testdata/language-features/module/import01.out +++ b/testdata/language-features/module/import01.out | |||
@@ -5,7 +5,7 @@ x = _lhs x (_rhs hello) | |||
5 | x :: String | 5 | x :: String |
6 | x = _rhs "hello" | 6 | x = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/import01.lc 3:1-3:2 | 8 | import01.lc 3:1-3:2 |
9 | String | 9 | String |
10 | testdata/language-features/module/import01.lc 3:5-3:10 | 10 | import01.lc 3:5-3:10 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import02.reject.out b/testdata/language-features/module/import02.reject.out index 0bf4a3d4..a11dd56b 100644 --- a/testdata/language-features/module/import02.reject.out +++ b/testdata/language-features/module/import02.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | can't find: hello2 in testdata/language-features/module/import02.reject.lc:4:5: | 1 | can't find: hello2 in import02.reject.lc:4:5: |
2 | x = hello2 | 2 | x = hello2 |
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | ------------ trace | 4 | ------------ trace |
5 | !can't find: hello2 in testdata/language-features/module/import02.reject.lc:4:5: | 5 | !can't find: hello2 in import02.reject.lc:4:5: |
6 | x = hello2 | 6 | x = hello2 |
7 | ^^^^^^ | 7 | ^^^^^^ \ No newline at end of file |
diff --git a/testdata/language-features/module/import03.reject.out b/testdata/language-features/module/import03.reject.out index eed9a289..fcb67a0d 100644 --- a/testdata/language-features/module/import03.reject.out +++ b/testdata/language-features/module/import03.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | can't find: world in testdata/language-features/module/import03.reject.lc:3:5: | 1 | can't find: world in import03.reject.lc:3:5: |
2 | x = world | 2 | x = world |
3 | ^^^^^ | 3 | ^^^^^ |
4 | ------------ trace | 4 | ------------ trace |
5 | !can't find: world in testdata/language-features/module/import03.reject.lc:3:5: | 5 | !can't find: world in import03.reject.lc:3:5: |
6 | x = world | 6 | x = world |
7 | ^^^^^ | 7 | ^^^^^ \ No newline at end of file |
diff --git a/testdata/language-features/module/import04.reject.out b/testdata/language-features/module/import04.reject.out index a04a3790..a8fdc52b 100644 --- a/testdata/language-features/module/import04.reject.out +++ b/testdata/language-features/module/import04.reject.out | |||
@@ -1,19 +1,19 @@ | |||
1 | already defined hello at testdata/language-features/module/import04.reject.lc:4:1: | 1 | already defined hello at import04.reject.lc:4:1: |
2 | hello = "hello" | 2 | hello = "hello" |
3 | ^^^^^ | 3 | ^^^^^ |
4 | and at testdata/language-features/module/Hello01.lc:3:1: | 4 | and at Hello01.lc:3:1: |
5 | hello = "hello" | 5 | hello = "hello" |
6 | ^^^^^ | 6 | ^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | hello :: String | 8 | hello :: String |
9 | !already defined hello at testdata/language-features/module/import04.reject.lc:4:1: | 9 | !already defined hello at import04.reject.lc:4:1: |
10 | hello = "hello" | 10 | hello = "hello" |
11 | ^^^^^ | 11 | ^^^^^ |
12 | and at testdata/language-features/module/Hello01.lc:3:1: | 12 | and at Hello01.lc:3:1: |
13 | hello = "hello" | 13 | hello = "hello" |
14 | ^^^^^ | 14 | ^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | testdata/language-features/module/import04.reject.lc 4:1-4:6 | 16 | import04.reject.lc 4:1-4:6 |
17 | String | 17 | String |
18 | testdata/language-features/module/import04.reject.lc 4:9-4:16 | 18 | import04.reject.lc 4:9-4:16 |
19 | String \ No newline at end of file | 19 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import05.out b/testdata/language-features/module/import05.out index 90eff292..447a1356 100644 --- a/testdata/language-features/module/import05.out +++ b/testdata/language-features/module/import05.out | |||
@@ -6,9 +6,9 @@ x = _lhs x (_rhs hello) | |||
6 | x :: String | 6 | x :: String |
7 | x = _rhs "hello" | 7 | x = _rhs "hello" |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/module/import05.lc 3:6-3:12 | 9 | import05.lc 3:6-3:12 |
10 | Type | 10 | Type |
11 | testdata/language-features/module/import05.lc 4:1-4:2 | 11 | import05.lc 4:1-4:2 |
12 | String | 12 | String |
13 | testdata/language-features/module/import05.lc 4:5-4:10 | 13 | import05.lc 4:5-4:10 |
14 | String \ No newline at end of file | 14 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import06.out b/testdata/language-features/module/import06.out index af5885e2..1b15a725 100644 --- a/testdata/language-features/module/import06.out +++ b/testdata/language-features/module/import06.out | |||
@@ -10,11 +10,11 @@ hello = _rhs () | |||
10 | x :: String | 10 | x :: String |
11 | x = _rhs "world" | 11 | x = _rhs "world" |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/module/import06.lc 3:1-3:6 | 13 | import06.lc 3:1-3:6 |
14 | () | 14 | () |
15 | testdata/language-features/module/import06.lc 3:9-3:11 | 15 | import06.lc 3:9-3:11 |
16 | () | 16 | () |
17 | testdata/language-features/module/import06.lc 4:1-4:2 | 17 | import06.lc 4:1-4:2 |
18 | String | 18 | String |
19 | testdata/language-features/module/import06.lc 4:5-4:10 | 19 | import06.lc 4:5-4:10 |
20 | String \ No newline at end of file | 20 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import07.out b/testdata/language-features/module/import07.out index 531e24a2..2b35602f 100644 --- a/testdata/language-features/module/import07.out +++ b/testdata/language-features/module/import07.out | |||
@@ -10,11 +10,11 @@ hello = _rhs () | |||
10 | x :: String | 10 | x :: String |
11 | x = _rhs "world" | 11 | x = _rhs "world" |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/module/import07.lc 3:1-3:6 | 13 | import07.lc 3:1-3:6 |
14 | () | 14 | () |
15 | testdata/language-features/module/import07.lc 3:9-3:11 | 15 | import07.lc 3:9-3:11 |
16 | () | 16 | () |
17 | testdata/language-features/module/import07.lc 4:1-4:2 | 17 | import07.lc 4:1-4:2 |
18 | String | 18 | String |
19 | testdata/language-features/module/import07.lc 4:5-4:10 | 19 | import07.lc 4:5-4:10 |
20 | String \ No newline at end of file | 20 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import08.out b/testdata/language-features/module/import08.out index fd3ee5b9..8b4270f1 100644 --- a/testdata/language-features/module/import08.out +++ b/testdata/language-features/module/import08.out | |||
@@ -23,25 +23,25 @@ value = _rhs () | |||
23 | w :: String | 23 | w :: String |
24 | w = _rhs "world" | 24 | w = _rhs "world" |
25 | ------------ tooltips | 25 | ------------ tooltips |
26 | testdata/language-features/module/import08.lc 3:1-3:6 | 26 | import08.lc 3:1-3:6 |
27 | () | 27 | () |
28 | testdata/language-features/module/import08.lc 3:9-3:11 | 28 | import08.lc 3:9-3:11 |
29 | () | 29 | () |
30 | testdata/language-features/module/import08.lc 5:6-5:10 | 30 | import08.lc 5:6-5:10 |
31 | Type | 31 | Type |
32 | testdata/language-features/module/import08.lc 6:1-6:2 | 32 | import08.lc 6:1-6:2 |
33 | Char | 33 | Char |
34 | testdata/language-features/module/import08.lc 6:5-6:13 | 34 | import08.lc 6:5-6:13 |
35 | Char | 35 | Char |
36 | testdata/language-features/module/import08.lc 8:6-8:12 | 36 | import08.lc 8:6-8:12 |
37 | Type | 37 | Type |
38 | testdata/language-features/module/import08.lc 9:1-9:2 | 38 | import08.lc 9:1-9:2 |
39 | String | 39 | String |
40 | testdata/language-features/module/import08.lc 9:5-9:10 | 40 | import08.lc 9:5-9:10 |
41 | String | 41 | String |
42 | testdata/language-features/module/import08.lc 11:6-11:12 | 42 | import08.lc 11:6-11:12 |
43 | Type | 43 | Type |
44 | testdata/language-features/module/import08.lc 12:1-12:2 | 44 | import08.lc 12:1-12:2 |
45 | String | 45 | String |
46 | testdata/language-features/module/import08.lc 12:5-12:10 | 46 | import08.lc 12:5-12:10 |
47 | String \ No newline at end of file | 47 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import09.out b/testdata/language-features/module/import09.out index 3082c3ff..0e478d9c 100644 --- a/testdata/language-features/module/import09.out +++ b/testdata/language-features/module/import09.out | |||
@@ -6,17 +6,17 @@ fun = _lhs fun \(_ :: _) (a :: _) -> hlistNilCase _ (_rhs ()) a | |||
6 | fun :: forall a . a -> MyUnit -> () | 6 | fun :: forall a . a -> MyUnit -> () |
7 | fun = \_ _ a -> hlistNilCase ' () (_rhs ()) a | 7 | fun = \_ _ a -> hlistNilCase ' () (_rhs ()) a |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | testdata/language-features/module/import09.lc 3:8-3:9 | 9 | import09.lc 3:8-3:9 |
10 | _b | 10 | _b |
11 | testdata/language-features/module/import09.lc 3:8-3:29 | 11 | import09.lc 3:8-3:29 |
12 | Type | 12 | Type |
13 | testdata/language-features/module/import09.lc 3:13-3:19 | 13 | import09.lc 3:13-3:19 |
14 | Type | 14 | Type |
15 | testdata/language-features/module/import09.lc 3:13-3:29 | 15 | import09.lc 3:13-3:29 |
16 | Type | 16 | Type |
17 | testdata/language-features/module/import09.lc 3:23-3:29 | 17 | import09.lc 3:23-3:29 |
18 | Type | Type | 18 | Type | Type |
19 | testdata/language-features/module/import09.lc 4:1-4:4 | 19 | import09.lc 4:1-4:4 |
20 | forall a . a -> MyUnit -> () | 20 | forall a . a -> MyUnit -> () |
21 | testdata/language-features/module/import09.lc 4:12-4:14 | 21 | import09.lc 4:12-4:14 |
22 | () | () \ No newline at end of file | 22 | () | () \ No newline at end of file |
diff --git a/testdata/language-features/module/import10.reject.out b/testdata/language-features/module/import10.reject.out index 32e5619b..c243d0d1 100644 --- a/testdata/language-features/module/import10.reject.out +++ b/testdata/language-features/module/import10.reject.out | |||
@@ -1,19 +1,19 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/module/import10.reject.lc:3:6: | 1 | already defined 'MyUnit at import10.reject.lc:3:6: |
2 | type MyUnit = () | 2 | type MyUnit = () |
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 4 | and at TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | 'MyUnit :: Type | 8 | 'MyUnit :: Type |
9 | !already defined 'MyUnit at testdata/language-features/module/import10.reject.lc:3:6: | 9 | !already defined 'MyUnit at import10.reject.lc:3:6: |
10 | type MyUnit = () | 10 | type MyUnit = () |
11 | ^^^^^^ | 11 | ^^^^^^ |
12 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 12 | and at TypeSyn01Mod.lc:2:6: |
13 | type MyUnit = () | 13 | type MyUnit = () |
14 | ^^^^^^ | 14 | ^^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | testdata/language-features/module/import10.reject.lc 3:6-3:12 | 16 | import10.reject.lc 3:6-3:12 |
17 | Type | 17 | Type |
18 | testdata/language-features/module/import10.reject.lc 3:15-3:17 | 18 | import10.reject.lc 3:15-3:17 |
19 | Type \ No newline at end of file | 19 | Type \ No newline at end of file |
diff --git a/testdata/language-features/module/import11.reject.out b/testdata/language-features/module/import11.reject.out index 93bcee00..102d4bd8 100644 --- a/testdata/language-features/module/import11.reject.out +++ b/testdata/language-features/module/import11.reject.out | |||
@@ -1,19 +1,19 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/module/import11.reject.lc:3:6: | 1 | already defined 'MyUnit at import11.reject.lc:3:6: |
2 | type MyUnit = () | 2 | type MyUnit = () |
3 | ^^^^^^ | 3 | ^^^^^^ |
4 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 4 | and at TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
8 | 'MyUnit :: Type | 8 | 'MyUnit :: Type |
9 | !already defined 'MyUnit at testdata/language-features/module/import11.reject.lc:3:6: | 9 | !already defined 'MyUnit at import11.reject.lc:3:6: |
10 | type MyUnit = () | 10 | type MyUnit = () |
11 | ^^^^^^ | 11 | ^^^^^^ |
12 | and at testdata/language-features/module/TypeSyn01Mod.lc:2:6: | 12 | and at TypeSyn01Mod.lc:2:6: |
13 | type MyUnit = () | 13 | type MyUnit = () |
14 | ^^^^^^ | 14 | ^^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | testdata/language-features/module/import11.reject.lc 3:6-3:12 | 16 | import11.reject.lc 3:6-3:12 |
17 | Type | 17 | Type |
18 | testdata/language-features/module/import11.reject.lc 3:15-3:17 | 18 | import11.reject.lc 3:15-3:17 |
19 | Type \ No newline at end of file | 19 | Type \ No newline at end of file |
diff --git a/testdata/language-features/module/import12.out b/testdata/language-features/module/import12.out index 760cc132..90b4ef05 100644 --- a/testdata/language-features/module/import12.out +++ b/testdata/language-features/module/import12.out | |||
@@ -5,7 +5,7 @@ fun = _lhs fun (_rhs hello) | |||
5 | fun :: String | 5 | fun :: String |
6 | fun = _rhs "hello" | 6 | fun = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/import12.lc 4:1-4:4 | 8 | import12.lc 4:1-4:4 |
9 | String | 9 | String |
10 | testdata/language-features/module/import12.lc 4:7-4:12 | 10 | import12.lc 4:7-4:12 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import13.out b/testdata/language-features/module/import13.out index fd02626b..014905e9 100644 --- a/testdata/language-features/module/import13.out +++ b/testdata/language-features/module/import13.out | |||
@@ -5,7 +5,7 @@ fun = _lhs fun (_rhs hello) | |||
5 | fun :: String | 5 | fun :: String |
6 | fun = _rhs "hello" | 6 | fun = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/import13.lc 4:1-4:4 | 8 | import13.lc 4:1-4:4 |
9 | String | 9 | String |
10 | testdata/language-features/module/import13.lc 4:7-4:12 | 10 | import13.lc 4:7-4:12 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import14.out b/testdata/language-features/module/import14.out index 3b09db66..19ad67b9 100644 --- a/testdata/language-features/module/import14.out +++ b/testdata/language-features/module/import14.out | |||
@@ -5,7 +5,7 @@ fun = _lhs fun (_rhs hello) | |||
5 | fun :: String | 5 | fun :: String |
6 | fun = _rhs "hello" | 6 | fun = _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/import14.lc 4:1-4:4 | 8 | import14.lc 4:1-4:4 |
9 | String | 9 | String |
10 | testdata/language-features/module/import14.lc 4:7-4:12 | 10 | import14.lc 4:7-4:12 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/module/import15.out b/testdata/language-features/module/import15.out index 9cf8cd6f..77f60f7b 100644 --- a/testdata/language-features/module/import15.out +++ b/testdata/language-features/module/import15.out | |||
@@ -5,7 +5,7 @@ fun = _lhs fun (_rhs hello) | |||
5 | fun :: String | 5 | fun :: String |
6 | fun = _rhs "Hello" | 6 | fun = _rhs "Hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/module/import15.lc 3:1-3:4 | 8 | import15.lc 3:1-3:4 |
9 | String | 9 | String |
10 | testdata/language-features/module/import15.lc 3:7-3:12 | 10 | import15.lc 3:7-3:12 |
11 | String \ No newline at end of file | 11 | String \ No newline at end of file |
diff --git a/testdata/language-features/pattern/caseWhere.out b/testdata/language-features/pattern/caseWhere.out index 0a5e69c4..ca80120c 100644 --- a/testdata/language-features/pattern/caseWhere.out +++ b/testdata/language-features/pattern/caseWhere.out | |||
@@ -10,17 +10,17 @@ main | |||
10 | main :: Bool | 10 | main :: Bool |
11 | main = _rhs True | 11 | main = _rhs True |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | testdata/language-features/pattern/caseWhere.lc 4:1-4:5 | 13 | caseWhere.lc 4:1-4:5 |
14 | Bool | 14 | Bool |
15 | testdata/language-features/pattern/caseWhere.lc 4:8-7:14 | 15 | caseWhere.lc 4:8-7:14 |
16 | Bool | 16 | Bool |
17 | testdata/language-features/pattern/caseWhere.lc 4:13-4:17 | 17 | caseWhere.lc 4:13-4:17 |
18 | Bool | 18 | Bool |
19 | testdata/language-features/pattern/caseWhere.lc 5:9-5:10 | 19 | caseWhere.lc 5:9-5:10 |
20 | _c | 20 | _c |
21 | testdata/language-features/pattern/caseWhere.lc 5:9-5:15 | 21 | caseWhere.lc 5:9-5:15 |
22 | Bool | 22 | Bool |
23 | testdata/language-features/pattern/caseWhere.lc 5:14-5:15 | 23 | caseWhere.lc 5:14-5:15 |
24 | _d | 24 | _d |
25 | testdata/language-features/pattern/caseWhere.lc 7:13-7:14 | 25 | caseWhere.lc 7:13-7:14 |
26 | _b \ No newline at end of file | 26 | _b \ No newline at end of file |
diff --git a/testdata/language-features/pattern/pattern01.out b/testdata/language-features/pattern/pattern01.out index bbd1d94e..38067549 100644 --- a/testdata/language-features/pattern/pattern01.out +++ b/testdata/language-features/pattern/pattern01.out | |||
@@ -44,35 +44,35 @@ fun3 | |||
44 | fun4 :: () -> Char | 44 | fun4 :: () -> Char |
45 | fun4 = \a -> hlistNilCase 'Char (_rhs '0') a | 45 | fun4 = \a -> hlistNilCase 'Char (_rhs '0') a |
46 | ------------ tooltips | 46 | ------------ tooltips |
47 | testdata/language-features/pattern/pattern01.lc 1:1-1:5 | 47 | pattern01.lc 1:1-1:5 |
48 | forall a . (Eq a, Num a) => a -> Char | 48 | forall a . (Eq a, Num a) => a -> Char |
49 | testdata/language-features/pattern/pattern01.lc 1:10-1:13 | 49 | pattern01.lc 1:10-1:13 |
50 | Char | 50 | Char |
51 | testdata/language-features/pattern/pattern01.lc 1:10-2:13 | 51 | pattern01.lc 1:10-2:13 |
52 | Bool -> Char | 52 | Bool -> Char |
53 | testdata/language-features/pattern/pattern01.lc 2:10-2:13 | 53 | pattern01.lc 2:10-2:13 |
54 | Char | 54 | Char |
55 | testdata/language-features/pattern/pattern01.lc 4:1-4:5 | 55 | pattern01.lc 4:1-4:5 |
56 | String -> Char | 56 | String -> Char |
57 | testdata/language-features/pattern/pattern01.lc 4:12-4:15 | 57 | pattern01.lc 4:12-4:15 |
58 | Char | 58 | Char |
59 | testdata/language-features/pattern/pattern01.lc 4:12-5:13 | 59 | pattern01.lc 4:12-5:13 |
60 | Bool -> Char | 60 | Bool -> Char |
61 | testdata/language-features/pattern/pattern01.lc 5:10-5:13 | 61 | pattern01.lc 5:10-5:13 |
62 | Char | 62 | Char |
63 | testdata/language-features/pattern/pattern01.lc 7:1-7:5 | 63 | pattern01.lc 7:1-7:5 |
64 | Char -> Char | 64 | Char -> Char |
65 | testdata/language-features/pattern/pattern01.lc 7:12-7:15 | 65 | pattern01.lc 7:12-7:15 |
66 | Char | 66 | Char |
67 | testdata/language-features/pattern/pattern01.lc 7:12-8:13 | 67 | pattern01.lc 7:12-8:13 |
68 | Bool -> Char | 68 | Bool -> Char |
69 | testdata/language-features/pattern/pattern01.lc 8:10-8:13 | 69 | pattern01.lc 8:10-8:13 |
70 | Char | 70 | Char |
71 | testdata/language-features/pattern/pattern01.lc 10:1-10:5 | 71 | pattern01.lc 10:1-10:5 |
72 | () -> Char | 72 | () -> Char |
73 | testdata/language-features/pattern/pattern01.lc 10:11-10:14 | 73 | pattern01.lc 10:11-10:14 |
74 | Char | 74 | Char |
75 | ------------ warnings | 75 | ------------ warnings |
76 | Source code is not reachable: testdata/language-features/pattern/pattern01.lc:11:10: | 76 | Source code is not reachable: pattern01.lc:11:10: |
77 | fun4 _ = '_' | 77 | fun4 _ = '_' |
78 | ^^^ \ No newline at end of file | 78 | ^^^ \ No newline at end of file |
diff --git a/testdata/language-features/pattern/pattern02.reject.out b/testdata/language-features/pattern/pattern02.reject.out index dd5690e4..1faf6d91 100644 --- a/testdata/language-features/pattern/pattern02.reject.out +++ b/testdata/language-features/pattern/pattern02.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | Constructor X is not defined at testdata/language-features/pattern/pattern02.reject.lc:4:3: | 1 | Constructor X is not defined at pattern02.reject.lc:4:3: |
2 | f X = 3 | 2 | f X = 3 |
3 | ^ | 3 | ^ \ No newline at end of file |
diff --git a/testdata/language-features/pattern/patternGuard.out b/testdata/language-features/pattern/patternGuard.out index 314f4834..58c5e666 100644 --- a/testdata/language-features/pattern/patternGuard.out +++ b/testdata/language-features/pattern/patternGuard.out | |||
@@ -19,28 +19,28 @@ main | |||
19 | main :: Bool | 19 | main :: Bool |
20 | main = _rhs True | 20 | main = _rhs True |
21 | ------------ tooltips | 21 | ------------ tooltips |
22 | testdata/language-features/pattern/patternGuard.lc 4:1-4:5 | 22 | patternGuard.lc 4:1-4:5 |
23 | Bool | 23 | Bool |
24 | testdata/language-features/pattern/patternGuard.lc 4:8-5:56 | 24 | patternGuard.lc 4:8-5:56 |
25 | Bool | 25 | Bool |
26 | testdata/language-features/pattern/patternGuard.lc 4:13-4:17 | 26 | patternGuard.lc 4:13-4:17 |
27 | Bool | 27 | Bool |
28 | testdata/language-features/pattern/patternGuard.lc 5:18-5:23 | 28 | patternGuard.lc 5:18-5:23 |
29 | Bool | 29 | Bool |
30 | testdata/language-features/pattern/patternGuard.lc 5:18-5:56 | 30 | patternGuard.lc 5:18-5:56 |
31 | Bool | 31 | Bool |
32 | testdata/language-features/pattern/patternGuard.lc 5:33-5:34 | 32 | patternGuard.lc 5:33-5:34 |
33 | _b | 33 | _b |
34 | testdata/language-features/pattern/patternGuard.lc 5:33-5:56 | 34 | patternGuard.lc 5:33-5:56 |
35 | Bool | 35 | Bool |
36 | testdata/language-features/pattern/patternGuard.lc 5:44-5:48 | 36 | patternGuard.lc 5:44-5:48 |
37 | Bool | 37 | Bool |
38 | testdata/language-features/pattern/patternGuard.lc 5:44-5:56 | 38 | patternGuard.lc 5:44-5:56 |
39 | Bool | 39 | Bool |
40 | testdata/language-features/pattern/patternGuard.lc 5:52-5:56 | 40 | patternGuard.lc 5:52-5:56 |
41 | Bool | 41 | Bool |
42 | ------------ warnings | 42 | ------------ warnings |
43 | Uncovered pattern(s) at testdata/language-features/pattern/patternGuard.lc:4:13: | 43 | Uncovered pattern(s) at patternGuard.lc:4:13: |
44 | main = case True of | 44 | main = case True of |
45 | ^^^^ | 45 | ^^^^ |
46 | Missing case(s): | 46 | Missing case(s): |
diff --git a/testdata/language-features/pattern/uncovered.out b/testdata/language-features/pattern/uncovered.out index f9952c69..9d531171 100644 --- a/testdata/language-features/pattern/uncovered.out +++ b/testdata/language-features/pattern/uncovered.out | |||
@@ -171,37 +171,37 @@ h | |||
171 | b) | 171 | b) |
172 | a | 172 | a |
173 | ------------ tooltips | 173 | ------------ tooltips |
174 | testdata/language-features/pattern/uncovered.lc 2:1-2:2 | 174 | uncovered.lc 2:1-2:2 |
175 | forall a . Num a => Bool -> Bool -> Bool -> a | 175 | forall a . Num a => Bool -> Bool -> Bool -> a |
176 | testdata/language-features/pattern/uncovered.lc 2:18-2:19 | 176 | uncovered.lc 2:18-2:19 |
177 | _b | 177 | _b |
178 | testdata/language-features/pattern/uncovered.lc 2:18-3:19 | 178 | uncovered.lc 2:18-3:19 |
179 | Bool -> _c | _c | 179 | Bool -> _c | _c |
180 | testdata/language-features/pattern/uncovered.lc 2:18-4:19 | 180 | uncovered.lc 2:18-4:19 |
181 | Bool -> _c | 181 | Bool -> _c |
182 | testdata/language-features/pattern/uncovered.lc 3:18-3:19 | 182 | uncovered.lc 3:18-3:19 |
183 | _b | _b | _b | _c | 183 | _b | _b | _b | _c |
184 | testdata/language-features/pattern/uncovered.lc 3:18-4:19 | 184 | uncovered.lc 3:18-4:19 |
185 | Bool -> _c | _b | 185 | Bool -> _c | _b |
186 | testdata/language-features/pattern/uncovered.lc 4:18-4:19 | 186 | uncovered.lc 4:18-4:19 |
187 | _b | 187 | _b |
188 | testdata/language-features/pattern/uncovered.lc 6:1-6:2 | 188 | uncovered.lc 6:1-6:2 |
189 | [Bool] -> Bool | 189 | [Bool] -> Bool |
190 | testdata/language-features/pattern/uncovered.lc 6:25-6:30 | 190 | uncovered.lc 6:25-6:30 |
191 | Bool | Bool | Bool | Bool | Bool | Bool | Bool | 191 | Bool | Bool | Bool | Bool | Bool | Bool | Bool |
192 | testdata/language-features/pattern/uncovered.lc 8:1-8:2 | 192 | uncovered.lc 8:1-8:2 |
193 | [[Bool]] -> Bool | 193 | [[Bool]] -> Bool |
194 | testdata/language-features/pattern/uncovered.lc 8:23-8:27 | 194 | uncovered.lc 8:23-8:27 |
195 | Bool | Bool | Bool | Bool | Bool | Bool | Bool | Bool | Bool | 195 | Bool | Bool | Bool | Bool | Bool | Bool | Bool | Bool | Bool |
196 | ------------ warnings | 196 | ------------ warnings |
197 | Uncovered pattern(s) at testdata/language-features/pattern/uncovered.lc:2:1: | 197 | Uncovered pattern(s) at uncovered.lc:2:1: |
198 | f _ True False = 0 | 198 | f _ True False = 0 |
199 | f False _ True = 1 | 199 | f False _ True = 1 |
200 | f True False _ = 2 | 200 | f True False _ = 2 |
201 | Missing case(s): | 201 | Missing case(s): |
202 | f False False False | 202 | f False False False |
203 | f True True True | 203 | f True True True |
204 | Uncovered pattern(s) at testdata/language-features/pattern/uncovered.lc:6:1: | 204 | Uncovered pattern(s) at uncovered.lc:6:1: |
205 | g [True, False, True] = False | 205 | g [True, False, True] = False |
206 | ^ | 206 | ^ |
207 | Missing case(s): | 207 | Missing case(s): |
@@ -212,7 +212,7 @@ Missing case(s): | |||
212 | g (True : False : False : _) | 212 | g (True : False : False : _) |
213 | g (True : False : True : _ : _) | 213 | g (True : False : True : _ : _) |
214 | g (True : True : _) | 214 | g (True : True : _) |
215 | Uncovered pattern(s) at testdata/language-features/pattern/uncovered.lc:8:1: | 215 | Uncovered pattern(s) at uncovered.lc:8:1: |
216 | h [[True], [False]] = True | 216 | h [[True], [False]] = True |
217 | ^ | 217 | ^ |
218 | Missing case(s): | 218 | Missing case(s): |
diff --git a/testdata/language-features/pattern/unreachable.out b/testdata/language-features/pattern/unreachable.out index 8eb5d0db..050bb5b5 100644 --- a/testdata/language-features/pattern/unreachable.out +++ b/testdata/language-features/pattern/unreachable.out | |||
@@ -5,11 +5,11 @@ f = _lhs f \(_ :: _) -> _rhs "hello" | |||
5 | f :: forall a . a -> String | 5 | f :: forall a . a -> String |
6 | f = \a _ -> _rhs "hello" | 6 | f = \a _ -> _rhs "hello" |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | testdata/language-features/pattern/unreachable.lc 4:1-4:2 | 8 | unreachable.lc 4:1-4:2 |
9 | forall a . a -> String | 9 | forall a . a -> String |
10 | testdata/language-features/pattern/unreachable.lc 4:7-4:14 | 10 | unreachable.lc 4:7-4:14 |
11 | String | 11 | String |
12 | ------------ warnings | 12 | ------------ warnings |
13 | Source code is not reachable: testdata/language-features/pattern/unreachable.lc:5:7: | 13 | Source code is not reachable: unreachable.lc:5:7: |
14 | f _ = "world" | 14 | f _ = "world" |
15 | ^^^^^^^ \ No newline at end of file | 15 | ^^^^^^^ \ No newline at end of file |
diff --git a/testdata/language-features/pattern/viewPattern.out b/testdata/language-features/pattern/viewPattern.out index 654f8467..6ac0ac61 100644 --- a/testdata/language-features/pattern/viewPattern.out +++ b/testdata/language-features/pattern/viewPattern.out | |||
@@ -14,24 +14,24 @@ id = \a b -> _rhs b | |||
14 | main :: Bool | 14 | main :: Bool |
15 | main = _rhs True | 15 | main = _rhs True |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | testdata/language-features/pattern/viewPattern.lc 4:1-4:3 | 17 | viewPattern.lc 4:1-4:3 |
18 | forall a . a -> a | 18 | forall a . a -> a |
19 | testdata/language-features/pattern/viewPattern.lc 4:8-4:9 | 19 | viewPattern.lc 4:8-4:9 |
20 | _b | 20 | _b |
21 | testdata/language-features/pattern/viewPattern.lc 6:1-6:5 | 21 | viewPattern.lc 6:1-6:5 |
22 | Bool | 22 | Bool |
23 | testdata/language-features/pattern/viewPattern.lc 6:8-7:25 | 23 | viewPattern.lc 6:8-7:25 |
24 | Bool | 24 | Bool |
25 | testdata/language-features/pattern/viewPattern.lc 6:13-6:17 | 25 | viewPattern.lc 6:13-6:17 |
26 | Bool | 26 | Bool |
27 | testdata/language-features/pattern/viewPattern.lc 7:6-7:8 | 27 | viewPattern.lc 7:6-7:8 |
28 | forall a . a -> a | _b | 28 | forall a . a -> a | _b |
29 | testdata/language-features/pattern/viewPattern.lc 7:6-7:25 | 29 | viewPattern.lc 7:6-7:25 |
30 | Bool | 30 | Bool |
31 | testdata/language-features/pattern/viewPattern.lc 7:21-7:25 | 31 | viewPattern.lc 7:21-7:25 |
32 | Bool | 32 | Bool |
33 | ------------ warnings | 33 | ------------ warnings |
34 | Uncovered pattern(s) at testdata/language-features/pattern/viewPattern.lc:6:13: | 34 | Uncovered pattern(s) at viewPattern.lc:6:13: |
35 | main = case True of | 35 | main = case True of |
36 | ^^^^ | 36 | ^^^^ |
37 | Missing case(s): | 37 | Missing case(s): |
diff --git a/testdata/language-features/recursion/mutualConst.out b/testdata/language-features/recursion/mutualConst.out index 34d37bc7..62272011 100644 --- a/testdata/language-features/recursion/mutualConst.out +++ b/testdata/language-features/recursion/mutualConst.out | |||
@@ -117,72 +117,72 @@ xy = primFix _ \a -> _rhs (False : snd a, True : fst a) | |||
117 | y :: [Bool] | 117 | y :: [Bool] |
118 | y = _rhs (True : fst xy) | 118 | y = _rhs (True : fst xy) |
119 | ------------ tooltips | 119 | ------------ tooltips |
120 | testdata/language-features/recursion/mutualConst.lc 4:1-4:4 | 120 | mutualConst.lc 4:1-4:4 |
121 | forall a b . (a, b) -> a | 121 | forall a b . (a, b) -> a |
122 | testdata/language-features/recursion/mutualConst.lc 4:14-4:15 | 122 | mutualConst.lc 4:14-4:15 |
123 | _k | _h | _d | 123 | _k | _h | _d |
124 | testdata/language-features/recursion/mutualConst.lc 5:1-5:4 | 124 | mutualConst.lc 5:1-5:4 |
125 | forall a b . (a, b) -> b | 125 | forall a b . (a, b) -> b |
126 | testdata/language-features/recursion/mutualConst.lc 5:14-5:15 | 126 | mutualConst.lc 5:14-5:15 |
127 | _f | _c | _c | 127 | _f | _c | _c |
128 | testdata/language-features/recursion/mutualConst.lc 7:1-7:3 | 128 | mutualConst.lc 7:1-7:3 |
129 | ([Bool], [Bool]) | 129 | ([Bool], [Bool]) |
130 | testdata/language-features/recursion/mutualConst.lc 7:6-7:44 | 130 | mutualConst.lc 7:6-7:44 |
131 | [Bool] -> ([Bool], [Bool]) | 131 | [Bool] -> ([Bool], [Bool]) |
132 | testdata/language-features/recursion/mutualConst.lc 7:6-7:53 | 132 | mutualConst.lc 7:6-7:53 |
133 | ([Bool], [Bool]) | 133 | ([Bool], [Bool]) |
134 | testdata/language-features/recursion/mutualConst.lc 7:15-7:34 | 134 | mutualConst.lc 7:15-7:34 |
135 | ([Bool], [Bool]) | 135 | ([Bool], [Bool]) |
136 | testdata/language-features/recursion/mutualConst.lc 7:16-7:21 | 136 | mutualConst.lc 7:16-7:21 |
137 | Bool | 137 | Bool |
138 | testdata/language-features/recursion/mutualConst.lc 7:16-7:22 | 138 | mutualConst.lc 7:16-7:22 |
139 | [Bool] -> [Bool] | 139 | [Bool] -> [Bool] |
140 | testdata/language-features/recursion/mutualConst.lc 7:16-7:24 | 140 | mutualConst.lc 7:16-7:24 |
141 | [Bool] | 141 | [Bool] |
142 | testdata/language-features/recursion/mutualConst.lc 7:21-7:22 | 142 | mutualConst.lc 7:21-7:22 |
143 | forall a . a -> [a] -> [a] | 143 | forall a . a -> [a] -> [a] |
144 | testdata/language-features/recursion/mutualConst.lc 7:23-7:24 | 144 | mutualConst.lc 7:23-7:24 |
145 | _c | 145 | _c |
146 | testdata/language-features/recursion/mutualConst.lc 7:26-7:30 | 146 | mutualConst.lc 7:26-7:30 |
147 | Bool | 147 | Bool |
148 | testdata/language-features/recursion/mutualConst.lc 7:26-7:31 | 148 | mutualConst.lc 7:26-7:31 |
149 | [Bool] -> [Bool] | 149 | [Bool] -> [Bool] |
150 | testdata/language-features/recursion/mutualConst.lc 7:26-7:33 | 150 | mutualConst.lc 7:26-7:33 |
151 | [Bool] | (([Bool])) | 151 | [Bool] | (([Bool])) |
152 | testdata/language-features/recursion/mutualConst.lc 7:30-7:31 | 152 | mutualConst.lc 7:30-7:31 |
153 | forall a . a -> [a] -> [a] | 153 | forall a . a -> [a] -> [a] |
154 | testdata/language-features/recursion/mutualConst.lc 7:32-7:33 | 154 | mutualConst.lc 7:32-7:33 |
155 | _e | 155 | _e |
156 | testdata/language-features/recursion/mutualConst.lc 7:37-7:40 | 156 | mutualConst.lc 7:37-7:40 |
157 | forall a b . (a, b) -> a | 157 | forall a b . (a, b) -> a |
158 | testdata/language-features/recursion/mutualConst.lc 7:37-7:43 | 158 | mutualConst.lc 7:37-7:43 |
159 | _b | 159 | _b |
160 | testdata/language-features/recursion/mutualConst.lc 7:41-7:43 | 160 | mutualConst.lc 7:41-7:43 |
161 | _d | 161 | _d |
162 | testdata/language-features/recursion/mutualConst.lc 7:46-7:49 | 162 | mutualConst.lc 7:46-7:49 |
163 | forall a b . (a, b) -> b | 163 | forall a b . (a, b) -> b |
164 | testdata/language-features/recursion/mutualConst.lc 7:46-7:52 | 164 | mutualConst.lc 7:46-7:52 |
165 | [Bool] | 165 | [Bool] |
166 | testdata/language-features/recursion/mutualConst.lc 7:50-7:52 | 166 | mutualConst.lc 7:50-7:52 |
167 | ([Bool], [Bool]) | 167 | ([Bool], [Bool]) |
168 | testdata/language-features/recursion/mutualConst.lc 9:2-9:3 | 168 | mutualConst.lc 9:2-9:3 |
169 | _k | _h | _d | [Bool] | 169 | _k | _h | _d | [Bool] |
170 | testdata/language-features/recursion/mutualConst.lc 9:2-9:6 | 170 | mutualConst.lc 9:2-9:6 |
171 | ([Bool], [Bool]) | ([Bool], [Bool]) | ([Bool], [Bool]) | 171 | ([Bool], [Bool]) | ([Bool], [Bool]) | ([Bool], [Bool]) |
172 | testdata/language-features/recursion/mutualConst.lc 9:5-9:6 | 172 | mutualConst.lc 9:5-9:6 |
173 | _f | _c | _c | [Bool] | 173 | _f | _c | _c | [Bool] |
174 | testdata/language-features/recursion/mutualConst.lc 9:10-9:12 | 174 | mutualConst.lc 9:10-9:12 |
175 | ([Bool], [Bool]) | 175 | ([Bool], [Bool]) |
176 | testdata/language-features/recursion/mutualConst.lc 11:1-11:5 | 176 | mutualConst.lc 11:1-11:5 |
177 | Bool | 177 | Bool |
178 | testdata/language-features/recursion/mutualConst.lc 11:8-12:34 | 178 | mutualConst.lc 11:8-12:34 |
179 | Bool | 179 | Bool |
180 | testdata/language-features/recursion/mutualConst.lc 11:13-11:14 | 180 | mutualConst.lc 11:13-11:14 |
181 | [Bool] | 181 | [Bool] |
182 | testdata/language-features/recursion/mutualConst.lc 12:30-12:34 | 182 | mutualConst.lc 12:30-12:34 |
183 | Bool | Bool | Bool | Bool | Bool | Bool | 183 | Bool | Bool | Bool | Bool | Bool | Bool |
184 | ------------ warnings | 184 | ------------ warnings |
185 | Uncovered pattern(s) at testdata/language-features/recursion/mutualConst.lc:11:13: | 185 | Uncovered pattern(s) at mutualConst.lc:11:13: |
186 | main = case x of | 186 | main = case x of |
187 | ^ | 187 | ^ |
188 | Missing case(s): | 188 | Missing case(s): |
diff --git a/testdata/language-features/recursion/mutualFunc.out b/testdata/language-features/recursion/mutualFunc.out index 6dd3f158..91217651 100644 --- a/testdata/language-features/recursion/mutualFunc.out +++ b/testdata/language-features/recursion/mutualFunc.out | |||
@@ -67,41 +67,41 @@ g = \a -> case'Bool (\_ -> 'Bool) (_rhs (f a)) (_rhs True) a | |||
67 | main :: Bool | 67 | main :: Bool |
68 | main = _rhs True | 68 | main = _rhs True |
69 | ------------ tooltips | 69 | ------------ tooltips |
70 | testdata/language-features/recursion/mutualFunc.lc 4:1-4:2 | 70 | mutualFunc.lc 4:1-4:2 |
71 | _f | _c | _c | _f | _c | _c | Bool -> Bool | 71 | _f | _c | _c | _f | _c | _c | Bool -> Bool |
72 | testdata/language-features/recursion/mutualFunc.lc 4:1-7:2 | 72 | mutualFunc.lc 4:1-7:2 |
73 | _b | _e | (_e, _d) | (Bool -> Bool, Bool -> Bool) | (Bool -> Bool | 73 | _b | _e | (_e, _d) | (Bool -> Bool, Bool -> Bool) | (Bool -> Bool |
74 | , Bool -> Bool) | (Bool -> Bool, Bool -> Bool) | (Bool -> Bool | 74 | , Bool -> Bool) | (Bool -> Bool, Bool -> Bool) | (Bool -> Bool |
75 | , Bool -> Bool) | (Bool -> Bool, Bool -> Bool) | 75 | , Bool -> Bool) | (Bool -> Bool, Bool -> Bool) |
76 | testdata/language-features/recursion/mutualFunc.lc 4:10-4:11 | 76 | mutualFunc.lc 4:10-4:11 |
77 | Bool -> _a | 77 | Bool -> _a |
78 | testdata/language-features/recursion/mutualFunc.lc 4:10-4:17 | 78 | mutualFunc.lc 4:10-4:17 |
79 | _a | 79 | _a |
80 | testdata/language-features/recursion/mutualFunc.lc 4:10-5:17 | 80 | mutualFunc.lc 4:10-5:17 |
81 | Bool -> _a | ((Bool -> _a)) | 81 | Bool -> _a | ((Bool -> _a)) |
82 | testdata/language-features/recursion/mutualFunc.lc 4:10-8:10 | 82 | mutualFunc.lc 4:10-8:10 |
83 | (Bool -> Bool, Bool -> _a) | 83 | (Bool -> Bool, Bool -> _a) |
84 | testdata/language-features/recursion/mutualFunc.lc 4:12-4:17 | 84 | mutualFunc.lc 4:12-4:17 |
85 | Bool | 85 | Bool |
86 | testdata/language-features/recursion/mutualFunc.lc 5:11-5:12 | 86 | mutualFunc.lc 5:11-5:12 |
87 | _i | 87 | _i |
88 | testdata/language-features/recursion/mutualFunc.lc 5:13-5:17 | 88 | mutualFunc.lc 5:13-5:17 |
89 | Bool | 89 | Bool |
90 | testdata/language-features/recursion/mutualFunc.lc 7:1-7:2 | 90 | mutualFunc.lc 7:1-7:2 |
91 | _k | _h | _d | _k | _h | _d | Bool -> Bool | 91 | _k | _h | _d | _k | _h | _d | Bool -> Bool |
92 | testdata/language-features/recursion/mutualFunc.lc 7:10-7:14 | 92 | mutualFunc.lc 7:10-7:14 |
93 | Bool | 93 | Bool |
94 | testdata/language-features/recursion/mutualFunc.lc 7:10-8:10 | 94 | mutualFunc.lc 7:10-8:10 |
95 | Bool -> Bool | 95 | Bool -> Bool |
96 | testdata/language-features/recursion/mutualFunc.lc 8:7-8:8 | 96 | mutualFunc.lc 8:7-8:8 |
97 | _h | 97 | _h |
98 | testdata/language-features/recursion/mutualFunc.lc 8:9-8:10 | 98 | mutualFunc.lc 8:9-8:10 |
99 | _f | 99 | _f |
100 | testdata/language-features/recursion/mutualFunc.lc 10:1-10:5 | 100 | mutualFunc.lc 10:1-10:5 |
101 | Bool | 101 | Bool |
102 | testdata/language-features/recursion/mutualFunc.lc 10:8-10:9 | 102 | mutualFunc.lc 10:8-10:9 |
103 | Bool -> Bool | 103 | Bool -> Bool |
104 | testdata/language-features/recursion/mutualFunc.lc 10:8-10:14 | 104 | mutualFunc.lc 10:8-10:14 |
105 | Bool | 105 | Bool |
106 | testdata/language-features/recursion/mutualFunc.lc 10:10-10:14 | 106 | mutualFunc.lc 10:10-10:14 |
107 | Bool \ No newline at end of file | 107 | Bool \ No newline at end of file |
diff --git a/testdata/language-features/recursion/mutualRec.out b/testdata/language-features/recursion/mutualRec.out index 885bd1ba..aada1a7d 100644 --- a/testdata/language-features/recursion/mutualRec.out +++ b/testdata/language-features/recursion/mutualRec.out | |||
@@ -89,45 +89,45 @@ x = _rhs (False : y) | |||
89 | y :: [Bool] | 89 | y :: [Bool] |
90 | y = _rhs (True : x) | 90 | y = _rhs (True : x) |
91 | ------------ tooltips | 91 | ------------ tooltips |
92 | testdata/language-features/recursion/mutualRec.lc 4:1-4:2 | 92 | mutualRec.lc 4:1-4:2 |
93 | _f | _c | _c | _f | _c | _c | [Bool] | 93 | _f | _c | _c | _f | _c | _c | [Bool] |
94 | testdata/language-features/recursion/mutualRec.lc 4:1-5:2 | 94 | mutualRec.lc 4:1-5:2 |
95 | _b | _e | (_e, _d) | ([Bool], [Bool]) | ([Bool], [Bool]) | ([Bool] | 95 | _b | _e | (_e, _d) | ([Bool], [Bool]) | ([Bool], [Bool]) | ([Bool] |
96 | , [Bool]) | ([Bool], [Bool]) | ([Bool], [Bool]) | 96 | , [Bool]) | ([Bool], [Bool]) | ([Bool], [Bool]) |
97 | testdata/language-features/recursion/mutualRec.lc 4:5-4:10 | 97 | mutualRec.lc 4:5-4:10 |
98 | Bool | 98 | Bool |
99 | testdata/language-features/recursion/mutualRec.lc 4:5-4:11 | 99 | mutualRec.lc 4:5-4:11 |
100 | [Bool] -> [Bool] | 100 | [Bool] -> [Bool] |
101 | testdata/language-features/recursion/mutualRec.lc 4:5-4:13 | 101 | mutualRec.lc 4:5-4:13 |
102 | [Bool] | (([Bool])) | 102 | [Bool] | (([Bool])) |
103 | testdata/language-features/recursion/mutualRec.lc 4:5-5:12 | 103 | mutualRec.lc 4:5-5:12 |
104 | ([Bool], [Bool]) | 104 | ([Bool], [Bool]) |
105 | testdata/language-features/recursion/mutualRec.lc 4:10-4:11 | 105 | mutualRec.lc 4:10-4:11 |
106 | forall a . a -> [a] -> [a] | 106 | forall a . a -> [a] -> [a] |
107 | testdata/language-features/recursion/mutualRec.lc 4:12-4:13 | 107 | mutualRec.lc 4:12-4:13 |
108 | _e | 108 | _e |
109 | testdata/language-features/recursion/mutualRec.lc 5:1-5:2 | 109 | mutualRec.lc 5:1-5:2 |
110 | _k | _h | _d | _k | _h | _d | [Bool] | 110 | _k | _h | _d | _k | _h | _d | [Bool] |
111 | testdata/language-features/recursion/mutualRec.lc 5:5-5:9 | 111 | mutualRec.lc 5:5-5:9 |
112 | Bool | 112 | Bool |
113 | testdata/language-features/recursion/mutualRec.lc 5:5-5:10 | 113 | mutualRec.lc 5:5-5:10 |
114 | [Bool] -> [Bool] | 114 | [Bool] -> [Bool] |
115 | testdata/language-features/recursion/mutualRec.lc 5:5-5:12 | 115 | mutualRec.lc 5:5-5:12 |
116 | [Bool] | 116 | [Bool] |
117 | testdata/language-features/recursion/mutualRec.lc 5:9-5:10 | 117 | mutualRec.lc 5:9-5:10 |
118 | forall a . a -> [a] -> [a] | 118 | forall a . a -> [a] -> [a] |
119 | testdata/language-features/recursion/mutualRec.lc 5:11-5:12 | 119 | mutualRec.lc 5:11-5:12 |
120 | _d | 120 | _d |
121 | testdata/language-features/recursion/mutualRec.lc 7:1-7:5 | 121 | mutualRec.lc 7:1-7:5 |
122 | Bool | 122 | Bool |
123 | testdata/language-features/recursion/mutualRec.lc 7:8-8:34 | 123 | mutualRec.lc 7:8-8:34 |
124 | Bool | 124 | Bool |
125 | testdata/language-features/recursion/mutualRec.lc 7:13-7:14 | 125 | mutualRec.lc 7:13-7:14 |
126 | [Bool] | 126 | [Bool] |
127 | testdata/language-features/recursion/mutualRec.lc 8:30-8:34 | 127 | mutualRec.lc 8:30-8:34 |
128 | Bool | Bool | Bool | Bool | Bool | Bool | 128 | Bool | Bool | Bool | Bool | Bool | Bool |
129 | ------------ warnings | 129 | ------------ warnings |
130 | Uncovered pattern(s) at testdata/language-features/recursion/mutualRec.lc:7:13: | 130 | Uncovered pattern(s) at mutualRec.lc:7:13: |
131 | main = case x of | 131 | main = case x of |
132 | ^ | 132 | ^ |
133 | Missing case(s): | 133 | Missing case(s): |
diff --git a/testdata/language-features/recursion/simplerec01.out b/testdata/language-features/recursion/simplerec01.out index 823d544e..892eebfc 100644 --- a/testdata/language-features/recursion/simplerec01.out +++ b/testdata/language-features/recursion/simplerec01.out | |||
@@ -20,13 +20,13 @@ fun | |||
20 | (_rhs 'a') | 20 | (_rhs 'a') |
21 | ((a == c) (fromInt a d 0) f) | 21 | ((a == c) (fromInt a d 0) f) |
22 | ------------ tooltips | 22 | ------------ tooltips |
23 | testdata/language-features/recursion/simplerec01.lc 1:1-1:4 | 23 | simplerec01.lc 1:1-1:4 |
24 | forall a . (Num a, Eq a, Num a) => a -> Char | 24 | forall a . (Num a, Eq a, Num a) => a -> Char |
25 | testdata/language-features/recursion/simplerec01.lc 1:9-1:12 | 25 | simplerec01.lc 1:9-1:12 |
26 | Char | 26 | Char |
27 | testdata/language-features/recursion/simplerec01.lc 1:9-2:14 | 27 | simplerec01.lc 1:9-2:14 |
28 | Bool -> Char | 28 | Bool -> Char |
29 | testdata/language-features/recursion/simplerec01.lc 2:9-2:12 | 29 | simplerec01.lc 2:9-2:12 |
30 | _e | 30 | _e |
31 | testdata/language-features/recursion/simplerec01.lc 2:13-2:14 | 31 | simplerec01.lc 2:13-2:14 |
32 | _b \ No newline at end of file | 32 | _b \ No newline at end of file |
diff --git a/testdata/language-features/recursion/simplerec02.out b/testdata/language-features/recursion/simplerec02.out index d80f3cfd..21d25b22 100644 --- a/testdata/language-features/recursion/simplerec02.out +++ b/testdata/language-features/recursion/simplerec02.out | |||
@@ -19,15 +19,15 @@ value | |||
19 | value :: () | 19 | value :: () |
20 | value = _rhs () | 20 | value = _rhs () |
21 | ------------ tooltips | 21 | ------------ tooltips |
22 | testdata/language-features/recursion/simplerec02.lc 1:1-1:6 | 22 | simplerec02.lc 1:1-1:6 |
23 | () | 23 | () |
24 | testdata/language-features/recursion/simplerec02.lc 1:21-1:24 | 24 | simplerec02.lc 1:21-1:24 |
25 | Char | 25 | Char |
26 | testdata/language-features/recursion/simplerec02.lc 1:21-2:26 | 26 | simplerec02.lc 1:21-2:26 |
27 | Bool -> Char | 27 | Bool -> Char |
28 | testdata/language-features/recursion/simplerec02.lc 2:21-2:24 | 28 | simplerec02.lc 2:21-2:24 |
29 | _e | 29 | _e |
30 | testdata/language-features/recursion/simplerec02.lc 2:25-2:26 | 30 | simplerec02.lc 2:25-2:26 |
31 | _b | 31 | _b |
32 | testdata/language-features/recursion/simplerec02.lc 3:12-3:14 | 32 | simplerec02.lc 3:12-3:14 |
33 | () \ No newline at end of file | 33 | () \ No newline at end of file |
diff --git a/testdata/language-features/recursion/simplerec03.out b/testdata/language-features/recursion/simplerec03.out index 031dbc8d..eb7bf3cc 100644 --- a/testdata/language-features/recursion/simplerec03.out +++ b/testdata/language-features/recursion/simplerec03.out | |||
@@ -19,15 +19,15 @@ value | |||
19 | value :: () | 19 | value :: () |
20 | value = _rhs () | 20 | value = _rhs () |
21 | ------------ tooltips | 21 | ------------ tooltips |
22 | testdata/language-features/recursion/simplerec03.lc 1:1-1:6 | 22 | simplerec03.lc 1:1-1:6 |
23 | () | 23 | () |
24 | testdata/language-features/recursion/simplerec03.lc 1:9-1:11 | 24 | simplerec03.lc 1:9-1:11 |
25 | () | 25 | () |
26 | testdata/language-features/recursion/simplerec03.lc 3:13-3:16 | 26 | simplerec03.lc 3:13-3:16 |
27 | Char | 27 | Char |
28 | testdata/language-features/recursion/simplerec03.lc 3:13-4:18 | 28 | simplerec03.lc 3:13-4:18 |
29 | Bool -> Char | 29 | Bool -> Char |
30 | testdata/language-features/recursion/simplerec03.lc 4:13-4:16 | 30 | simplerec03.lc 4:13-4:16 |
31 | _e | 31 | _e |
32 | testdata/language-features/recursion/simplerec03.lc 4:17-4:18 | 32 | simplerec03.lc 4:17-4:18 |
33 | _b \ No newline at end of file | 33 | _b \ No newline at end of file |
diff --git a/testdata/language-features/section/section01.out b/testdata/language-features/section/section01.out index 0252cce5..3120b023 100644 --- a/testdata/language-features/section/section01.out +++ b/testdata/language-features/section/section01.out | |||
@@ -15,23 +15,23 @@ value1 = \a b c -> _rhs \d -> c !@! d | |||
15 | value2 :: forall a b . a -> b -> () | 15 | value2 :: forall a b . a -> b -> () |
16 | value2 = \a b c -> _rhs \d -> d !@! c | 16 | value2 = \a b c -> _rhs \d -> d !@! c |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | testdata/language-features/section/section01.lc 1:3-1:6 | 18 | section01.lc 1:3-1:6 |
19 | forall a b . a -> b -> () | 19 | forall a b . a -> b -> () |
20 | testdata/language-features/section/section01.lc 1:11-1:13 | 20 | section01.lc 1:11-1:13 |
21 | () | 21 | () |
22 | testdata/language-features/section/section01.lc 3:1-3:7 | 22 | section01.lc 3:1-3:7 |
23 | forall a b . a -> b -> () | 23 | forall a b . a -> b -> () |
24 | testdata/language-features/section/section01.lc 3:13-3:14 | 24 | section01.lc 3:13-3:14 |
25 | _f | 25 | _f |
26 | testdata/language-features/section/section01.lc 3:13-3:18 | 26 | section01.lc 3:13-3:18 |
27 | _a -> () | 27 | _a -> () |
28 | testdata/language-features/section/section01.lc 3:15-3:18 | 28 | section01.lc 3:15-3:18 |
29 | forall a b . a -> b -> () | 29 | forall a b . a -> b -> () |
30 | testdata/language-features/section/section01.lc 5:1-5:7 | 30 | section01.lc 5:1-5:7 |
31 | forall a b . a -> b -> () | 31 | forall a b . a -> b -> () |
32 | testdata/language-features/section/section01.lc 5:13-5:16 | 32 | section01.lc 5:13-5:16 |
33 | forall a b . a -> b -> () | 33 | forall a b . a -> b -> () |
34 | testdata/language-features/section/section01.lc 5:13-5:18 | 34 | section01.lc 5:13-5:18 |
35 | () | 35 | () |
36 | testdata/language-features/section/section01.lc 5:17-5:18 | 36 | section01.lc 5:17-5:18 |
37 | _e \ No newline at end of file | 37 | _e \ No newline at end of file |