diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-04-29 12:52:37 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-04-29 12:52:37 +0200 |
commit | e57768c37bc8cbc85b58bf47a71562d0d782c698 (patch) | |
tree | 471ede50cbdc347faab61667e19c2e3350f4c200 /testdata | |
parent | 58a479b781935155e09f565d2488693850bf21c6 (diff) |
use Doc instead of String is several places
Diffstat (limited to 'testdata')
39 files changed, 50 insertions, 107 deletions
diff --git a/testdata/Builtins.out b/testdata/Builtins.out index e5e3cf55..31c370e3 100644 --- a/testdata/Builtins.out +++ b/testdata/Builtins.out | |||
@@ -2983,8 +2983,7 @@ Uncovered pattern(s) at testdata/Builtins.lc:201:1: | |||
2983 | head (x: _) = x | 2983 | head (x: _) = x |
2984 | ^^^^ | 2984 | ^^^^ |
2985 | Missing case(s): | 2985 | Missing case(s): |
2986 | Nil | 2986 | Nil |
2987 | |||
2988 | Uncovered pattern(s) at testdata/Builtins.lc:340:1: | 2987 | Uncovered pattern(s) at testdata/Builtins.lc:340:1: |
2989 | swizzscalar (V2 x y) Sx = x | 2988 | swizzscalar (V2 x y) Sx = x |
2990 | swizzscalar (V2 x y) Sy = y | 2989 | swizzscalar (V2 x y) Sy = y |
@@ -2996,13 +2995,11 @@ swizzscalar (V4 x y z w) Sy = y | |||
2996 | swizzscalar (V4 x y z w) Sz = z | 2995 | swizzscalar (V4 x y z w) Sz = z |
2997 | swizzscalar (V4 x y z w) Sw = w | 2996 | swizzscalar (V4 x y z w) Sw = w |
2998 | Missing case(s): | 2997 | Missing case(s): |
2999 | V2 Sz | 2998 | V2 Sz |
3000 | V2 Sw | 2999 | V2 Sw |
3001 | V3 Sw | 3000 | V3 Sw |
3002 | |||
3003 | Uncovered pattern(s) at testdata/Builtins.lc:357:1: | 3001 | Uncovered pattern(s) at testdata/Builtins.lc:357:1: |
3004 | swizzvector v w | definedVec v = mapVec (swizzscalar v) w | 3002 | swizzvector v w | definedVec v = mapVec (swizzscalar v) w |
3005 | ^^^^^^^^^^^ | 3003 | ^^^^^^^^^^^ |
3006 | Missing case(s): | 3004 | Missing case(s): |
3007 | _ _ | False <- definedVec _b | 3005 | _ _ | False <- definedVec _b |
3008 | |||
diff --git a/testdata/Prelude.out b/testdata/Prelude.out index 7299d40d..23dd4a4a 100644 --- a/testdata/Prelude.out +++ b/testdata/Prelude.out | |||
@@ -1594,23 +1594,19 @@ Uncovered pattern(s) at testdata/Prelude.lc:50:1: | |||
1594 | tail (_: xs) = xs | 1594 | tail (_: xs) = xs |
1595 | ^^^^ | 1595 | ^^^^ |
1596 | Missing case(s): | 1596 | Missing case(s): |
1597 | Nil | 1597 | Nil |
1598 | |||
1599 | Uncovered pattern(s) at testdata/Prelude.lc:58:1: | 1598 | Uncovered pattern(s) at testdata/Prelude.lc:58:1: |
1600 | foldr1 f (x: xs) = foldr f x xs | 1599 | foldr1 f (x: xs) = foldr f x xs |
1601 | ^^^^^^ | 1600 | ^^^^^^ |
1602 | Missing case(s): | 1601 | Missing case(s): |
1603 | _ Nil | 1602 | _ Nil |
1604 | |||
1605 | Uncovered pattern(s) at testdata/Prelude.lc:137:1: | 1603 | Uncovered pattern(s) at testdata/Prelude.lc:137:1: |
1606 | project @a @('RecItem s' a': xs) s @_ (RecordCons ts) | s == s' = fstTup (unsafeCoerce @_ @(HList '(a : map recItemType xs)) ts) | 1604 | project @a @('RecItem s' a': xs) s @_ (RecordCons ts) | s == s' = fstTup (unsafeCoerce @_ @(HList '(a : map recItemType xs)) ts) |
1607 | project @a @('RecItem s' a': xs) s @_ (RecordCons ts) = project @a @xs s @(undefined @(isKeyC s a xs)) (RecordCons (sndTup (unsafeCoerce @_ @(HList '(a : map recItemType xs)) ts))) | 1605 | project @a @('RecItem s' a': xs) s @_ (RecordCons ts) = project @a @xs s @(undefined @(isKeyC s a xs)) (RecordCons (sndTup (unsafeCoerce @_ @(HList '(a : map recItemType xs)) ts))) |
1608 | Missing case(s): | 1606 | Missing case(s): |
1609 | _ Nil _ _ _ | 1607 | _ Nil _ _ _ |
1610 | |||
1611 | Uncovered pattern(s) at testdata/Prelude.lc:388:10: | 1608 | Uncovered pattern(s) at testdata/Prelude.lc:388:10: |
1612 | (x : _) !! 0 = x | 1609 | (x : _) !! 0 = x |
1613 | (_ : xs) !! n = xs !! (n-1) | 1610 | (_ : xs) !! n = xs !! (n-1) |
1614 | Missing case(s): | 1611 | Missing case(s): |
1615 | Nil _ | 1612 | Nil _ |
1616 | |||
diff --git a/testdata/adhoc.reject.out b/testdata/adhoc.reject.out index f9fa8c49..511e62b1 100644 --- a/testdata/adhoc.reject.out +++ b/testdata/adhoc.reject.out | |||
@@ -2,7 +2,6 @@ type error: no instance of 'Component on ??? | |||
2 | in testdata/adhoc.reject.lc:4:5: | 2 | in testdata/adhoc.reject.lc:4:5: |
3 | x = one :: Vec 4 A | 3 | x = one :: Vec 4 A |
4 | ^^^ | 4 | ^^^ |
5 | |||
6 | ------------ trace | 5 | ------------ trace |
7 | 'A :: [32mType[0m | 6 | 'A :: [32mType[0m |
8 | A :: [32m'A[0m | 7 | A :: [32m'A[0m |
@@ -12,7 +11,6 @@ match'A :: [32m([32ma[0;32m :: Type -> Type) -> [32m[32ma[0;32m [32m'A[0 | |||
12 | in testdata/adhoc.reject.lc:4:5: | 11 | in testdata/adhoc.reject.lc:4:5: |
13 | x = one :: Vec 4 A | 12 | x = one :: Vec 4 A |
14 | ^^^ | 13 | ^^^ |
15 | |||
16 | ------------ tooltips | 14 | ------------ tooltips |
17 | testdata/adhoc.reject.lc 2:6-2:7 Type | 15 | testdata/adhoc.reject.lc 2:6-2:7 Type |
18 | testdata/adhoc.reject.lc 2:6-2:11 Type | 16 | testdata/adhoc.reject.lc 2:6-2:11 Type |
diff --git a/testdata/complex.out b/testdata/complex.out index c7a8df09..43a60b85 100644 --- a/testdata/complex.out +++ b/testdata/complex.out | |||
@@ -383,13 +383,11 @@ Uncovered pattern(s) at testdata/complex.lc:114:1: | |||
383 | add @'Normal @'Normal (Complex a b) (Complex c d) = Complex (a + c) (b + d) | 383 | add @'Normal @'Normal (Complex a b) (Complex c d) = Complex (a + c) (b + d) |
384 | ^^^ | 384 | ^^^ |
385 | Missing case(s): | 385 | Missing case(s): |
386 | Normal Polar _ _ | 386 | Normal Polar _ _ |
387 | Polar _ _ _ | 387 | Polar _ _ _ |
388 | |||
389 | Uncovered pattern(s) at testdata/complex.lc:129:1: | 388 | Uncovered pattern(s) at testdata/complex.lc:129:1: |
390 | mul @'Normal @'Normal (Complex a b) (Complex c d) = Complex (a*c - b*d) (b*c + a*d) | 389 | mul @'Normal @'Normal (Complex a b) (Complex c d) = Complex (a*c - b*d) (b*c + a*d) |
391 | ^^^ | 390 | ^^^ |
392 | Missing case(s): | 391 | Missing case(s): |
393 | Normal Polar _ _ | 392 | Normal Polar _ _ |
394 | Polar _ _ _ | 393 | Polar _ _ _ |
395 | |||
diff --git a/testdata/data.out b/testdata/data.out index 3d54c617..ac7874a8 100644 --- a/testdata/data.out +++ b/testdata/data.out | |||
@@ -87,34 +87,29 @@ Uncovered pattern(s) at testdata/data.lc:6:23: | |||
87 | | Data22 { x :: Int, y::Int } | 87 | | Data22 { x :: Int, y::Int } |
88 | ^ | 88 | ^ |
89 | Missing case(s): | 89 | Missing case(s): |
90 | Data21 | 90 | Data21 |
91 | Data24 | 91 | Data24 |
92 | |||
93 | Uncovered pattern(s) at testdata/data.lc:6:33: | 92 | Uncovered pattern(s) at testdata/data.lc:6:33: |
94 | | Data22 { x :: Int, y::Int } | 93 | | Data22 { x :: Int, y::Int } |
95 | ^ | 94 | ^ |
96 | Missing case(s): | 95 | Missing case(s): |
97 | Data21 | 96 | Data21 |
98 | Data23 | 97 | Data23 |
99 | Data24 | 98 | Data24 |
100 | |||
101 | Uncovered pattern(s) at testdata/data.lc:10:32: | 99 | Uncovered pattern(s) at testdata/data.lc:10:32: |
102 | data Data5 a5 b5 c5 = Data51 { a5::a5} | 100 | data Data5 a5 b5 c5 = Data51 { a5::a5} |
103 | ^^ | 101 | ^^ |
104 | Missing case(s): | 102 | Missing case(s): |
105 | Data53 | 103 | Data53 |
106 | |||
107 | Uncovered pattern(s) at testdata/data.lc:11:40: | 104 | Uncovered pattern(s) at testdata/data.lc:11:40: |
108 | | Data52 { a5::a5, b5::b5, c5::c5 } | 105 | | Data52 { a5::a5, b5::b5, c5::c5 } |
109 | ^^ | 106 | ^^ |
110 | Missing case(s): | 107 | Missing case(s): |
111 | Data51 | 108 | Data51 |
112 | Data53 | 109 | Data53 |
113 | |||
114 | Uncovered pattern(s) at testdata/data.lc:11:48: | 110 | Uncovered pattern(s) at testdata/data.lc:11:48: |
115 | | Data52 { a5::a5, b5::b5, c5::c5 } | 111 | | Data52 { a5::a5, b5::b5, c5::c5 } |
116 | ^^ | 112 | ^^ |
117 | Missing case(s): | 113 | Missing case(s): |
118 | Data51 | 114 | Data51 |
119 | Data53 | 115 | Data53 |
120 | |||
diff --git a/testdata/framebuffer02.reject.out b/testdata/framebuffer02.reject.out index 9ae2b9aa..f9650704 100644 --- a/testdata/framebuffer02.reject.out +++ b/testdata/framebuffer02.reject.out | |||
@@ -8,7 +8,6 @@ in testdata/framebuffer02.reject.lc:2:17: | |||
8 | ,ColorImage @2 (V4 1.0 1.0 1.0 1.0) | 8 | ,ColorImage @2 (V4 1.0 1.0 1.0 1.0) |
9 | ,colorImage1 1.0 | 9 | ,colorImage1 1.0 |
10 | ) | 10 | ) |
11 | |||
12 | ------------ trace | 11 | ------------ trace |
13 | !type error: can not unify | 12 | !type error: can not unify |
14 | [32m0[0m | 13 | [32m0[0m |
@@ -20,7 +19,6 @@ in testdata/framebuffer02.reject.lc:2:17: | |||
20 | ,ColorImage @2 (V4 1.0 1.0 1.0 1.0) | 19 | ,ColorImage @2 (V4 1.0 1.0 1.0 1.0) |
21 | ,colorImage1 1.0 | 20 | ,colorImage1 1.0 |
22 | ) | 21 | ) |
23 | |||
24 | ------------ tooltips | 22 | ------------ tooltips |
25 | testdata/framebuffer02.reject.lc 2:17-2:28 forall (a :: List Type) . 'sameLayerCounts a => HList a -> FrameBuffer (ImageLC ('head Type a)) ('map Type ImageKind GetImageKind a) | 23 | testdata/framebuffer02.reject.lc 2:17-2:28 forall (a :: List Type) . 'sameLayerCounts a => HList a -> FrameBuffer (ImageLC ('head Type a)) ('map Type ImageKind GetImageKind a) |
26 | testdata/framebuffer02.reject.lc 2:17-5:30 FrameBuffer 1 ('map Type ImageKind GetImageKind ('Cons (Image 1 ('Color (VecScalar 4 Float))) ('Cons (Image 2 ('Color (VecScalar 4 Float))) ('Cons (Image 1 ('Color (VecScalar 1 Float))) 'Nil)))) | 24 | testdata/framebuffer02.reject.lc 2:17-5:30 FrameBuffer 1 ('map Type ImageKind GetImageKind ('Cons (Image 1 ('Color (VecScalar 4 Float))) ('Cons (Image 2 ('Color (VecScalar 4 Float))) ('Cons (Image 1 ('Color (VecScalar 1 Float))) 'Nil)))) |
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out index 34674b0a..44db093f 100644 --- a/testdata/language-features/adt/adt02.reject.out +++ b/testdata/language-features/adt/adt02.reject.out | |||
@@ -4,7 +4,6 @@ with | |||
4 | [32m'Int[0m | 4 | [32m'Int[0m |
5 | 5 | ||
6 | in proj | 6 | in proj |
7 | |||
8 | ------------ trace | 7 | ------------ trace |
9 | 'Data3 :: [32mType[0m | 8 | 'Data3 :: [32mType[0m |
10 | Data3 :: [32m'Bool -> 'Char -> 'Bool -> 'Data3[0m | 9 | Data3 :: [32m'Bool -> 'Char -> 'Bool -> 'Data3[0m |
@@ -17,7 +16,6 @@ with | |||
17 | [32m'Int[0m | 16 | [32m'Int[0m |
18 | 17 | ||
19 | in proj | 18 | in proj |
20 | |||
21 | ------------ tooltips | 19 | ------------ tooltips |
22 | testdata/language-features/adt/adt02.reject.lc 2:6-2:11 Type | 20 | testdata/language-features/adt/adt02.reject.lc 2:6-2:11 Type |
23 | testdata/language-features/adt/adt02.reject.lc 2:6-5:25 Type | 21 | testdata/language-features/adt/adt02.reject.lc 2:6-5:25 Type |
diff --git a/testdata/language-features/adt/gadt04.reject.out b/testdata/language-features/adt/gadt04.reject.out index 425f7213..fc2b7c30 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 testdata/language-features/adt/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 testdata/language-features/adt/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 |
@@ -14,7 +14,7 @@ Value :: [32mforall a . [32ma[0;32m -> forall (b :: 'String) . 'M2 [32ma[0; | |||
14 | !already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3: | 14 | !already defined Value at testdata/language-features/adt/gadt04.reject.lc:6:3: |
15 | Value :: a -> forall m . M2 a m | 15 | Value :: a -> forall m . M2 a m |
16 | ^^^^^ | 16 | ^^^^^ |
17 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: | 17 | and at testdata/language-features/adt/gadt04.reject.lc:3:3: |
18 | Value :: a -> forall m . M a m | 18 | Value :: a -> forall m . M a m |
19 | ^^^^^ | 19 | ^^^^^ |
20 | ------------ tooltips | 20 | ------------ tooltips |
diff --git a/testdata/language-features/as-pattern/as-pattern02.reject.out b/testdata/language-features/as-pattern/as-pattern02.reject.out index cca9bd79..9e6ac4ce 100644 --- a/testdata/language-features/as-pattern/as-pattern02.reject.out +++ b/testdata/language-features/as-pattern/as-pattern02.reject.out | |||
@@ -6,4 +6,3 @@ f x@[x:xs] = x:xs | |||
6 | testdata/language-features/as-pattern/as-pattern02.reject.lc:2:6: | 6 | testdata/language-features/as-pattern/as-pattern02.reject.lc:2:6: |
7 | f x@[x:xs] = x:xs | 7 | f x@[x:xs] = x:xs |
8 | ^ | 8 | ^ |
9 | |||
diff --git a/testdata/language-features/basic-list/list07.reject.out b/testdata/language-features/basic-list/list07.reject.out index 01bf6d20..27c8a2e3 100644 --- a/testdata/language-features/basic-list/list07.reject.out +++ b/testdata/language-features/basic-list/list07.reject.out | |||
@@ -4,7 +4,6 @@ with | |||
4 | [32m'Char[0m | 4 | [32m'Char[0m |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | |||
8 | ------------ trace | 7 | ------------ trace |
9 | !type error: can not unify | 8 | !type error: can not unify |
10 | [32m'Float[0m | 9 | [32m'Float[0m |
@@ -12,7 +11,6 @@ with | |||
12 | [32m'Char[0m | 11 | [32m'Char[0m |
13 | 12 | ||
14 | in builtin Nil | 13 | in builtin Nil |
15 | |||
16 | ------------ tooltips | 14 | ------------ tooltips |
17 | testdata/language-features/basic-list/list07.reject.lc 1:10-1:11 _b | 15 | testdata/language-features/basic-list/list07.reject.lc 1:10-1:11 _b |
18 | testdata/language-features/basic-list/list07.reject.lc 1:12-1:15 Float | 16 | testdata/language-features/basic-list/list07.reject.lc 1:12-1:15 Float |
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out index 0855f067..186dc9c6 100644 --- a/testdata/language-features/basic-list/list10.reject.out +++ b/testdata/language-features/basic-list/list10.reject.out | |||
@@ -4,7 +4,6 @@ with | |||
4 | [32m'Float[0m | 4 | [32m'Float[0m |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | |||
8 | ------------ trace | 7 | ------------ trace |
9 | !type error: can not unify | 8 | !type error: can not unify |
10 | [32m'Int[0m | 9 | [32m'Int[0m |
@@ -12,7 +11,6 @@ with | |||
12 | [32m'Float[0m | 11 | [32m'Float[0m |
13 | 12 | ||
14 | in builtin Nil | 13 | in builtin Nil |
15 | |||
16 | ------------ tooltips | 14 | ------------ tooltips |
17 | testdata/language-features/basic-list/list10.reject.lc 1:10-1:11 _b | 15 | testdata/language-features/basic-list/list10.reject.lc 1:10-1:11 _b |
18 | testdata/language-features/basic-list/list10.reject.lc 1:12-1:15 Float | 16 | testdata/language-features/basic-list/list10.reject.lc 1:12-1:15 Float |
diff --git a/testdata/language-features/basic-list/list14.reject.out b/testdata/language-features/basic-list/list14.reject.out index bfd60997..c8abf9be 100644 --- a/testdata/language-features/basic-list/list14.reject.out +++ b/testdata/language-features/basic-list/list14.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 6 | in testdata/language-features/basic-list/list14.reject.lc:1:17: |
7 | value = 'h':'i':() | 7 | value = 'h':'i':() |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'List 'Char[0m | 11 | [32m'List 'Char[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 15 | in testdata/language-features/basic-list/list14.reject.lc:1:17: |
17 | value = 'h':'i':() | 16 | value = 'h':'i':() |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:12 Char | 19 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:12 Char |
22 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:13 List Char -> List Char | 20 | testdata/language-features/basic-list/list14.reject.lc 1:9-1:13 List Char -> List Char |
diff --git a/testdata/language-features/basic-list/list15.reject.out b/testdata/language-features/basic-list/list15.reject.out index 081eabad..96a8907d 100644 --- a/testdata/language-features/basic-list/list15.reject.out +++ b/testdata/language-features/basic-list/list15.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 6 | in testdata/language-features/basic-list/list15.reject.lc:1:20: |
7 | value = 'h':'i':():[] | 7 | value = 'h':'i':():[] |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'Char[0m | 11 | [32m'Char[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 15 | in testdata/language-features/basic-list/list15.reject.lc:1:20: |
17 | value = 'h':'i':():[] | 16 | value = 'h':'i':():[] |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:12 Char | 19 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:12 Char |
22 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:13 List Char -> List Char | 20 | testdata/language-features/basic-list/list15.reject.lc 1:9-1:13 List Char -> List Char |
diff --git a/testdata/language-features/basic-list/list16.reject.out b/testdata/language-features/basic-list/list16.reject.out index 4f8d50a1..e109192d 100644 --- a/testdata/language-features/basic-list/list16.reject.out +++ b/testdata/language-features/basic-list/list16.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 6 | in testdata/language-features/basic-list/list16.reject.lc:1:13: |
7 | value = 'h':'i' | 7 | value = 'h':'i' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'List 'Char[0m | 11 | [32m'List 'Char[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 15 | in testdata/language-features/basic-list/list16.reject.lc:1:13: |
17 | value = 'h':'i' | 16 | value = 'h':'i' |
18 | ^^^ | 17 | ^^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:12 Char | 19 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:12 Char |
22 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:13 List Char -> List Char | 20 | testdata/language-features/basic-list/list16.reject.lc 1:9-1:13 List Char -> List Char |
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out index 35f2448e..3a989de0 100644 --- a/testdata/language-features/basic-list/listcomp08.reject.out +++ b/testdata/language-features/basic-list/listcomp08.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 6 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
7 | value = [x | x <- [], "not Bool"] | 7 | value = [x | x <- [], "not Bool"] |
8 | ^^^^^^^^^^ | 8 | ^^^^^^^^^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'Bool[0m | 11 | [32m'Bool[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 15 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
17 | value = [x | x <- [], "not Bool"] | 16 | value = [x | x <- [], "not Bool"] |
18 | ^^^^^^^^^^ | 17 | ^^^^^^^^^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-list/listcomp08.reject.lc 1:10-1:33 _b -> List _a | 19 | testdata/language-features/basic-list/listcomp08.reject.lc 1:10-1:33 _b -> List _a |
22 | testdata/language-features/basic-list/listcomp08.reject.lc 1:23-1:33 String | 20 | testdata/language-features/basic-list/listcomp08.reject.lc 1:23-1:33 String |
diff --git a/testdata/language-features/basic-values/case03.reject.out b/testdata/language-features/basic-values/case03.reject.out index 314fa80e..a964eb15 100644 --- a/testdata/language-features/basic-values/case03.reject.out +++ b/testdata/language-features/basic-values/case03.reject.out | |||
@@ -3,14 +3,12 @@ in testdata/language-features/basic-values/case03.reject.lc:1:10: | |||
3 | value1 = case () of | 3 | value1 = case () of |
4 | 1 -> () | 4 | 1 -> () |
5 | _ -> () | 5 | _ -> () |
6 | |||
7 | ------------ trace | 6 | ------------ trace |
8 | !type error: no instance of 'Num on ??? | 7 | !type error: no instance of 'Num on ??? |
9 | in testdata/language-features/basic-values/case03.reject.lc:1:10: | 8 | in testdata/language-features/basic-values/case03.reject.lc:1:10: |
10 | value1 = case () of | 9 | value1 = case () of |
11 | 1 -> () | 10 | 1 -> () |
12 | _ -> () | 11 | _ -> () |
13 | |||
14 | ------------ tooltips | 12 | ------------ tooltips |
15 | testdata/language-features/basic-values/case03.reject.lc 1:10-3:10 () | 13 | testdata/language-features/basic-values/case03.reject.lc 1:10-3:10 () |
16 | testdata/language-features/basic-values/case03.reject.lc 1:15-1:17 () | 14 | testdata/language-features/basic-values/case03.reject.lc 1:15-1:17 () |
diff --git a/testdata/language-features/basic-values/case04.reject.out b/testdata/language-features/basic-values/case04.reject.out index 7bb41248..ff2abacc 100644 --- a/testdata/language-features/basic-values/case04.reject.out +++ b/testdata/language-features/basic-values/case04.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 6 | in testdata/language-features/basic-values/case04.reject.lc:2:8: |
7 | 1 -> '1' | 7 | 1 -> '1' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m()[0m | 11 | [32m()[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 15 | in testdata/language-features/basic-values/case04.reject.lc:2:8: |
17 | 1 -> '1' | 16 | 1 -> '1' |
18 | ^^^ | 17 | ^^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-values/case04.reject.lc 2:8-2:11 Char | 19 | testdata/language-features/basic-values/case04.reject.lc 2:8-2:11 Char |
22 | testdata/language-features/basic-values/case04.reject.lc 3:8-3:10 () | 20 | testdata/language-features/basic-values/case04.reject.lc 3:8-3:10 () |
diff --git a/testdata/language-features/basic-values/case05.out b/testdata/language-features/basic-values/case05.out index cfd1d9af..717b0920 100644 --- a/testdata/language-features/basic-values/case05.out +++ b/testdata/language-features/basic-values/case05.out | |||
@@ -12,4 +12,3 @@ value x = case x of | |||
12 | ^ | 12 | ^ |
13 | Missing case(s): | 13 | Missing case(s): |
14 | _ | False <- fromInt 1 == _a | 14 | _ | False <- fromInt 1 == _a |
15 | |||
diff --git a/testdata/language-features/basic-values/def02.reject.out b/testdata/language-features/basic-values/def02.reject.out index 615d9afa..eca7cb70 100644 --- a/testdata/language-features/basic-values/def02.reject.out +++ b/testdata/language-features/basic-values/def02.reject.out | |||
@@ -6,4 +6,3 @@ fun1 x x = 'c' | |||
6 | testdata/language-features/basic-values/def02.reject.lc:1:8: | 6 | testdata/language-features/basic-values/def02.reject.lc:1:8: |
7 | fun1 x x = 'c' | 7 | fun1 x x = 'c' |
8 | ^ | 8 | ^ |
9 | |||
diff --git a/testdata/language-features/basic-values/def03.out b/testdata/language-features/basic-values/def03.out index 02db7cba..bd9e7133 100644 --- a/testdata/language-features/basic-values/def03.out +++ b/testdata/language-features/basic-values/def03.out | |||
@@ -11,5 +11,4 @@ Uncovered pattern(s) at testdata/language-features/basic-values/def03.lc:1:1: | |||
11 | fun 1 = '1' | 11 | fun 1 = '1' |
12 | fun 2 = '2' | 12 | fun 2 = '2' |
13 | Missing case(s): | 13 | Missing case(s): |
14 | _ | False <- fromInt 1 == _a, False <- fromInt 2 == _a | 14 | _ | False <- fromInt 1 == _a , False <- fromInt 2 == _a |
15 | |||
diff --git a/testdata/language-features/basic-values/def07.reject.out b/testdata/language-features/basic-values/def07.reject.out index be624025..c52ecc70 100644 --- a/testdata/language-features/basic-values/def07.reject.out +++ b/testdata/language-features/basic-values/def07.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined fun at testdata/language-features/basic-values/def07.reject.lc:4:1: | 1 | already defined fun at testdata/language-features/basic-values/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 testdata/language-features/basic-values/def07.reject.lc:1:1: |
5 | fun 1 = '1' | 5 | fun 1 = '1' |
6 | ^^^ | 6 | ^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -11,7 +11,7 @@ fun :: [32mforall a . [32ma[0;32m -> 'Char[0m | |||
11 | !already defined fun at testdata/language-features/basic-values/def07.reject.lc:4:1: | 11 | !already defined fun at testdata/language-features/basic-values/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 testdata/language-features/basic-values/def07.reject.lc:1:1: |
15 | fun 1 = '1' | 15 | fun 1 = '1' |
16 | ^^^ | 16 | ^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
@@ -28,11 +28,9 @@ Uncovered pattern(s) at testdata/language-features/basic-values/def07.reject.lc: | |||
28 | fun 1 = '1' | 28 | fun 1 = '1' |
29 | fun 2 = '2' | 29 | fun 2 = '2' |
30 | Missing case(s): | 30 | Missing case(s): |
31 | _ | False <- fromInt 1 == _a, False <- fromInt 2 == _a | 31 | _ | False <- fromInt 1 == _a , False <- fromInt 2 == _a |
32 | |||
33 | Uncovered pattern(s) at testdata/language-features/basic-values/def07.reject.lc:3:1: | 32 | Uncovered pattern(s) at testdata/language-features/basic-values/def07.reject.lc:3:1: |
34 | fun2 1 _ = '1' | 33 | fun2 1 _ = '1' |
35 | ^^^^ | 34 | ^^^^ |
36 | Missing case(s): | 35 | Missing case(s): |
37 | _ _ | False <- fromInt 1 == _b | 36 | _ _ | False <- fromInt 1 == _b |
38 | |||
diff --git a/testdata/language-features/basic-values/if03.reject.out b/testdata/language-features/basic-values/if03.reject.out index 83ed5e90..125dd5b5 100644 --- a/testdata/language-features/basic-values/if03.reject.out +++ b/testdata/language-features/basic-values/if03.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 6 | in testdata/language-features/basic-values/if03.reject.lc:1:13: |
7 | value1 = if () then () else () | 7 | value1 = if () then () else () |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'Bool[0m | 11 | [32m'Bool[0m |
@@ -16,6 +15,5 @@ with | |||
16 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 15 | in testdata/language-features/basic-values/if03.reject.lc:1:13: |
17 | value1 = if () then () else () | 16 | value1 = if () then () else () |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-values/if03.reject.lc 1:13-1:15 () | 19 | testdata/language-features/basic-values/if03.reject.lc 1:13-1:15 () |
diff --git a/testdata/language-features/basic-values/if04.reject.out b/testdata/language-features/basic-values/if04.reject.out index 23a77a44..6313eddc 100644 --- a/testdata/language-features/basic-values/if04.reject.out +++ b/testdata/language-features/basic-values/if04.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 6 | in testdata/language-features/basic-values/if04.reject.lc:1:31: |
7 | value1 = if True then () else '_' | 7 | value1 = if True then () else '_' |
8 | ^^^ | 8 | ^^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m()[0m | 11 | [32m()[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 15 | in testdata/language-features/basic-values/if04.reject.lc:1:31: |
17 | value1 = if True then () else '_' | 16 | value1 = if True then () else '_' |
18 | ^^^ | 17 | ^^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:17 Bool | 19 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:17 Bool |
22 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:25 () -> () | 20 | testdata/language-features/basic-values/if04.reject.lc 1:13-1:25 () -> () |
diff --git a/testdata/language-features/basic-values/operator02.reject.out b/testdata/language-features/basic-values/operator02.reject.out index 93092e52..cbf2cb0f 100644 --- a/testdata/language-features/basic-values/operator02.reject.out +++ b/testdata/language-features/basic-values/operator02.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined #$# at testdata/language-features/basic-values/operator02.reject.lc:3:3: | 1 | already defined #$# at testdata/language-features/basic-values/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 testdata/language-features/basic-values/operator02.reject.lc:1:3: |
5 | a #$# b = () | 5 | a #$# b = () |
6 | ^^^ | 6 | ^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -11,7 +11,7 @@ fun :: [32mforall a . [32ma[0;32m -> ()[0m | |||
11 | !already defined #$# at testdata/language-features/basic-values/operator02.reject.lc:3:3: | 11 | !already defined #$# at testdata/language-features/basic-values/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 testdata/language-features/basic-values/operator02.reject.lc:1:3: |
15 | a #$# b = () | 15 | a #$# b = () |
16 | ^^^ | 16 | ^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
diff --git a/testdata/language-features/basic-values/operator07.reject.out b/testdata/language-features/basic-values/operator07.reject.out index be6ea8f3..bc594c9e 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 testdata/language-features/basic-values/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 testdata/language-features/basic-values/operator07.reject.lc:11:18: |
6 | main = () @&> () <@& () | 6 | main = () @&> () <@& () |
7 | ^^^ | 7 | ^^^ |
diff --git a/testdata/language-features/basic-values/operator08.reject.out b/testdata/language-features/basic-values/operator08.reject.out index 8721d19f..eb50a28a 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 testdata/language-features/basic-values/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 testdata/language-features/basic-values/operator08.reject.lc:10:13: |
6 | x = (@&> () <@& ()) | 6 | x = (@&> () <@& ()) |
7 | ^^^ | 7 | ^^^ |
diff --git a/testdata/language-features/basic-values/redefine01.reject.out b/testdata/language-features/basic-values/redefine01.reject.out index 04a3868f..5bd93d2a 100644 --- a/testdata/language-features/basic-values/redefine01.reject.out +++ b/testdata/language-features/basic-values/redefine01.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined unit at testdata/language-features/basic-values/redefine01.reject.lc:3:1: | 1 | already defined unit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/redefine01.reject.lc:1:1: |
5 | unit = () | 5 | unit = () |
6 | ^^^^ | 6 | ^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -11,7 +11,7 @@ unit :: [32m()[0m | |||
11 | !already defined unit at testdata/language-features/basic-values/redefine01.reject.lc:3:1: | 11 | !already defined unit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/redefine01.reject.lc:1:1: |
15 | unit = () | 15 | unit = () |
16 | ^^^^ | 16 | ^^^^ |
17 | ------------ tooltips | 17 | ------------ tooltips |
diff --git a/testdata/language-features/basic-values/typesyn03.reject.out b/testdata/language-features/basic-values/typesyn03.reject.out index c0fb5268..cf08db7a 100644 --- a/testdata/language-features/basic-values/typesyn03.reject.out +++ b/testdata/language-features/basic-values/typesyn03.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/basic-values/typesyn03.reject.lc:2:6: | 1 | already defined 'MyUnit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/typesyn03.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -10,7 +10,7 @@ type MyUnit = () | |||
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn03.reject.lc:2:6: | 10 | !already defined 'MyUnit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/typesyn03.reject.lc:1:6: |
14 | type MyUnit = () | 14 | type MyUnit = () |
15 | ^^^^^^ | 15 | ^^^^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
diff --git a/testdata/language-features/basic-values/typesyn04.reject.out b/testdata/language-features/basic-values/typesyn04.reject.out index c903ddb8..94fc1e8c 100644 --- a/testdata/language-features/basic-values/typesyn04.reject.out +++ b/testdata/language-features/basic-values/typesyn04.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/basic-values/typesyn04.reject.lc:2:6: | 1 | already defined 'MyUnit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/typesyn04.reject.lc:1:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -10,7 +10,7 @@ type MyUnit = () | |||
10 | !already defined 'MyUnit at testdata/language-features/basic-values/typesyn04.reject.lc:2:6: | 10 | !already defined 'MyUnit at testdata/language-features/basic-values/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 testdata/language-features/basic-values/typesyn04.reject.lc:1:6: |
14 | type MyUnit = () | 14 | type MyUnit = () |
15 | ^^^^^^ | 15 | ^^^^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
diff --git a/testdata/language-features/guard/guard02.reject.out b/testdata/language-features/guard/guard02.reject.out index 3cff76bd..cd5b17c1 100644 --- a/testdata/language-features/guard/guard02.reject.out +++ b/testdata/language-features/guard/guard02.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 6 | in testdata/language-features/guard/guard02.reject.lc:2:12: |
7 | | True = () | 7 | | True = () |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'String[0m | 11 | [32m'String[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 15 | in testdata/language-features/guard/guard02.reject.lc:2:12: |
17 | | True = () | 16 | | True = () |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/guard/guard02.reject.lc 2:12-2:14 () | 19 | testdata/language-features/guard/guard02.reject.lc 2:12-2:14 () |
22 | testdata/language-features/guard/guard02.reject.lc 3:5-3:10 Bool | 20 | testdata/language-features/guard/guard02.reject.lc 3:5-3:10 Bool |
diff --git a/testdata/language-features/guard/guard05.reject.out b/testdata/language-features/guard/guard05.reject.out index 99275e00..23bf1739 100644 --- a/testdata/language-features/guard/guard05.reject.out +++ b/testdata/language-features/guard/guard05.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 6 | in testdata/language-features/guard/guard05.reject.lc:1:9: |
7 | value | () = "wrong" | 7 | value | () = "wrong" |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'Bool[0m | 11 | [32m'Bool[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 15 | in testdata/language-features/guard/guard05.reject.lc:1:9: |
17 | value | () = "wrong" | 16 | value | () = "wrong" |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/guard/guard05.reject.lc 1:9-1:11 () | 19 | testdata/language-features/guard/guard05.reject.lc 1:9-1:11 () |
22 | testdata/language-features/guard/guard05.reject.lc 1:14-1:21 String | 20 | testdata/language-features/guard/guard05.reject.lc 1:14-1:21 String |
diff --git a/testdata/language-features/guard/guard12.reject.out b/testdata/language-features/guard/guard12.reject.out index ca6c50ab..f1f024d7 100644 --- a/testdata/language-features/guard/guard12.reject.out +++ b/testdata/language-features/guard/guard12.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 6 | in testdata/language-features/guard/guard12.reject.lc:1:13: |
7 | fun x | x = () | otherwise = 'a' | 7 | fun x | x = () | otherwise = 'a' |
8 | ^^ | 8 | ^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'Char[0m | 11 | [32m'Char[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 15 | in testdata/language-features/guard/guard12.reject.lc:1:13: |
17 | fun x | x = () | otherwise = 'a' | 16 | fun x | x = () | otherwise = 'a' |
18 | ^^ | 17 | ^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/language-features/guard/guard12.reject.lc 1:13-1:15 () | 19 | testdata/language-features/guard/guard12.reject.lc 1:13-1:15 () |
22 | testdata/language-features/guard/guard12.reject.lc 1:30-1:33 Char | 20 | testdata/language-features/guard/guard12.reject.lc 1:30-1:33 Char |
diff --git a/testdata/language-features/module/import04.reject.out b/testdata/language-features/module/import04.reject.out index 82543ceb..85752b47 100644 --- a/testdata/language-features/module/import04.reject.out +++ b/testdata/language-features/module/import04.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined hello at testdata/language-features/module/import04.reject.lc:4:1: | 1 | already defined hello at testdata/language-features/module/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 testdata/language-features/module/Hello01.lc:3:1: |
5 | hello = "hello" | 5 | hello = "hello" |
6 | ^^^^^ | 6 | ^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -9,7 +9,7 @@ hello :: [32m'String[0m | |||
9 | !already defined hello at testdata/language-features/module/import04.reject.lc:4:1: | 9 | !already defined hello at testdata/language-features/module/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 testdata/language-features/module/Hello01.lc:3:1: |
13 | hello = "hello" | 13 | hello = "hello" |
14 | ^^^^^ | 14 | ^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
diff --git a/testdata/language-features/module/import10.reject.out b/testdata/language-features/module/import10.reject.out index 7f8c8d2d..5a61239c 100644 --- a/testdata/language-features/module/import10.reject.out +++ b/testdata/language-features/module/import10.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/module/import10.reject.lc:3:6: | 1 | already defined 'MyUnit at testdata/language-features/module/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 testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -9,7 +9,7 @@ type MyUnit = () | |||
9 | !already defined 'MyUnit at testdata/language-features/module/import10.reject.lc:3:6: | 9 | !already defined 'MyUnit at testdata/language-features/module/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 testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
13 | type MyUnit = () | 13 | type MyUnit = () |
14 | ^^^^^^ | 14 | ^^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
diff --git a/testdata/language-features/module/import11.reject.out b/testdata/language-features/module/import11.reject.out index 531e98a6..f686f7e8 100644 --- a/testdata/language-features/module/import11.reject.out +++ b/testdata/language-features/module/import11.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | already defined 'MyUnit at testdata/language-features/module/import11.reject.lc:3:6: | 1 | already defined 'MyUnit at testdata/language-features/module/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 testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
5 | type MyUnit = () | 5 | type MyUnit = () |
6 | ^^^^^^ | 6 | ^^^^^^ |
7 | ------------ trace | 7 | ------------ trace |
@@ -9,7 +9,7 @@ type MyUnit = () | |||
9 | !already defined 'MyUnit at testdata/language-features/module/import11.reject.lc:3:6: | 9 | !already defined 'MyUnit at testdata/language-features/module/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 testdata/language-features/module/TypeSyn01Mod.lc:2:6: |
13 | type MyUnit = () | 13 | type MyUnit = () |
14 | ^^^^^^ | 14 | ^^^^^^ |
15 | ------------ tooltips | 15 | ------------ tooltips |
diff --git a/testdata/language-features/pattern/uncovered.out b/testdata/language-features/pattern/uncovered.out index e24ca6ec..f51d2e84 100644 --- a/testdata/language-features/pattern/uncovered.out +++ b/testdata/language-features/pattern/uncovered.out | |||
@@ -15,6 +15,5 @@ f _ True False = 0 | |||
15 | f False _ True = 1 | 15 | f False _ True = 1 |
16 | f True False _ = 2 | 16 | f True False _ = 2 |
17 | Missing case(s): | 17 | Missing case(s): |
18 | False False False | 18 | False False False |
19 | True True True | 19 | True True True |
20 | |||
diff --git a/testdata/record01.reject.out b/testdata/record01.reject.out index 01aefa45..b03f9397 100644 --- a/testdata/record01.reject.out +++ b/testdata/record01.reject.out | |||
@@ -6,7 +6,6 @@ with | |||
6 | in testdata/record01.reject.lc:26:15: | 6 | in testdata/record01.reject.lc:26:15: |
7 | in ScreenOut record.fieldA | 7 | in ScreenOut record.fieldA |
8 | ^^^^^^ | 8 | ^^^^^^ |
9 | |||
10 | ------------ trace | 9 | ------------ trace |
11 | !type error: can not unify | 10 | !type error: can not unify |
12 | [32m'FrameBuffer [32m_b[0;32m [32m_a[0;32m[0m | 11 | [32m'FrameBuffer [32m_b[0;32m [32m_a[0;32m[0m |
@@ -16,7 +15,6 @@ with | |||
16 | in testdata/record01.reject.lc:26:15: | 15 | in testdata/record01.reject.lc:26:15: |
17 | in ScreenOut record.fieldA | 16 | in ScreenOut record.fieldA |
18 | ^^^^^^ | 17 | ^^^^^^ |
19 | |||
20 | ------------ tooltips | 18 | ------------ tooltips |
21 | testdata/record01.reject.lc 2:16-2:21 (BlendEquation, BlendEquation) -> ((BlendingFactor, BlendingFactor), (BlendingFactor, BlendingFactor)) -> Vec 4 Float -> Blending Float | 19 | testdata/record01.reject.lc 2:16-2:21 (BlendEquation, BlendEquation) -> ((BlendingFactor, BlendingFactor), (BlendingFactor, BlendingFactor)) -> Vec 4 Float -> Blending Float |
22 | testdata/record01.reject.lc 2:16-2:23 ((BlendingFactor, BlendingFactor), (BlendingFactor, BlendingFactor)) -> Vec 4 Float -> Blending Float | 20 | testdata/record01.reject.lc 2:16-2:23 ((BlendingFactor, BlendingFactor), (BlendingFactor, BlendingFactor)) -> Vec 4 Float -> Blending Float |
diff --git a/testdata/typesig.reject.out b/testdata/typesig.reject.out index 1b78a5c8..cc45ae6e 100644 --- a/testdata/typesig.reject.out +++ b/testdata/typesig.reject.out | |||
@@ -1,12 +1,12 @@ | |||
1 | focus checkMetas: \[34ma[0m -> [32m(\([32mb[0;32m :: Type) -> [32mprimFix [32m[32ma[0;32m[0;32m [32m[32mb[0;32m[0;32m[0;32m)[0m (\([34ma[0m := [32mType[0m) -> \([32mc[0m :: [32mType[0m) -> [4m<<HERE>>[0m) | 1 | focus checkMetas: \[34ma[0m -> [32m(\([32mb[0;32m :: Type) -> [32mprimFix [32m[32ma[0;32m[0;32m [32m[32mb[0;32m[0;32m[0;32m)[0m (\([34ma[0m := [32mType[0m) -> \([32mc[0m :: [32mType[0m) -> [4m<<HERE>>[0m) |
2 | [32m\([34ma[0;32m :: [32m[32m[32mType[0;32m ~ [32m[32m_a[0;32m[0;32m[0;32m[0;32m) ([34mb[0;32m :: [32m[32m[32m[32m_a[0;32m[0;32m ~ [32m'X[0;32m[0;32m[0;32m) -> [32m[32mtypeAnn [32m[32m_a[0;32m[0;32m [32m[32m(labend [32mX[0;32m)[0;32m[0;32m[0;32m[0;32m[0m | 2 | [32m\([34md[0;32m :: [32m[32m[32mType[0;32m ~ [32m[32m_a[0;32m[0;32m[0;32m[0;32m) ([34me[0;32m :: [32m[32m[32m[32m_a[0;32m[0;32m ~ [32m'X[0;32m[0;32m[0;32m) -> [32m[32mtypeAnn [32m[32m_a[0;32m[0;32m [32m[32m(labend [32mX[0;32m)[0;32m[0;32m[0;32m[0;32m[0m |
3 | ------------ trace | 3 | ------------ trace |
4 | 'X :: [32mType[0m | 4 | 'X :: [32mType[0m |
5 | X :: [32m'X[0m | 5 | X :: [32m'X[0m |
6 | 'XCase :: [32m([32ma[0;32m :: 'X -> Type) -> [32m[32ma[0;32m [32mX[0;32m[0;32m -> ([32mb[0;32m :: 'X) -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m[0m | 6 | 'XCase :: [32m([32ma[0;32m :: 'X -> Type) -> [32m[32ma[0;32m [32mX[0;32m[0;32m -> ([32mb[0;32m :: 'X) -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m[0m |
7 | match'X :: [32m([32ma[0;32m :: Type -> Type) -> [32m[32ma[0;32m [32m'X[0;32m[0;32m -> ([32mb[0;32m :: Type) -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m[0m | 7 | match'X :: [32m([32ma[0;32m :: Type -> Type) -> [32m[32ma[0;32m [32m'X[0;32m[0;32m -> ([32mb[0;32m :: Type) -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m -> [32m[32ma[0;32m [32m[32mb[0;32m[0;32m[0;32m[0m |
8 | !focus checkMetas: \[34ma[0m -> [32m(\([32mb[0;32m :: Type) -> [32mprimFix [32m[32ma[0;32m[0;32m [32m[32mb[0;32m[0;32m[0;32m)[0m (\([34ma[0m := [32mType[0m) -> \([32mc[0m :: [32mType[0m) -> [4m<<HERE>>[0m) | 8 | !focus checkMetas: \[34ma[0m -> [32m(\([32mb[0;32m :: Type) -> [32mprimFix [32m[32ma[0;32m[0;32m [32m[32mb[0;32m[0;32m[0;32m)[0m (\([34ma[0m := [32mType[0m) -> \([32mc[0m :: [32mType[0m) -> [4m<<HERE>>[0m) |
9 | [32m\([34ma[0;32m :: [32m[32m[32mType[0;32m ~ [32m[32m_a[0;32m[0;32m[0;32m[0;32m) ([34mb[0;32m :: [32m[32m[32m[32m_a[0;32m[0;32m ~ [32m'X[0;32m[0;32m[0;32m) -> [32m[32mtypeAnn [32m[32m_a[0;32m[0;32m [32m[32m(labend [32mX[0;32m)[0;32m[0;32m[0;32m[0;32m[0m | 9 | [32m\([34md[0;32m :: [32m[32m[32mType[0;32m ~ [32m[32m_a[0;32m[0;32m[0;32m[0;32m) ([34me[0;32m :: [32m[32m[32m[32m_a[0;32m[0;32m ~ [32m'X[0;32m[0;32m[0;32m) -> [32m[32mtypeAnn [32m[32m_a[0;32m[0;32m [32m[32m(labend [32mX[0;32m)[0;32m[0;32m[0;32m[0;32m[0m |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | testdata/typesig.reject.lc 4:6-4:7 Type | 11 | testdata/typesig.reject.lc 4:6-4:7 Type |
12 | testdata/typesig.reject.lc 4:6-4:11 Type | 12 | testdata/typesig.reject.lc 4:6-4:11 Type |
diff --git a/testdata/typesigctx.reject.out b/testdata/typesigctx.reject.out index 3d32979e..a1052bcd 100644 --- a/testdata/typesigctx.reject.out +++ b/testdata/typesigctx.reject.out | |||
@@ -1,6 +1,5 @@ | |||
1 | type error: no instance of 'Show' on ??? | 1 | type error: no instance of 'Show' on ??? |
2 | in Wildcard2 builtin 'Type | 2 | in Wildcard2 builtin 'Type |
3 | |||
4 | ------------ trace | 3 | ------------ trace |
5 | 'X :: [32mType[0m | 4 | 'X :: [32mType[0m |
6 | X :: [32m'X[0m | 5 | X :: [32m'X[0m |
@@ -10,7 +9,6 @@ match'X :: [32m([32ma[0;32m :: Type -> Type) -> [32m[32ma[0;32m [32m'X[0 | |||
10 | show' :: [32mforall a . [32m'Show' [32m[32ma[0;32m[0;32m[0;32m => [32ma[0;32m -> 'X[0m | 9 | show' :: [32mforall a . [32m'Show' [32m[32ma[0;32m[0;32m[0;32m => [32ma[0;32m -> 'X[0m |
11 | !type error: no instance of 'Show' on ??? | 10 | !type error: no instance of 'Show' on ??? |
12 | in Wildcard2 builtin 'Type | 11 | in Wildcard2 builtin 'Type |
13 | |||
14 | ------------ tooltips | 12 | ------------ tooltips |
15 | testdata/typesigctx.reject.lc 1:6-1:7 Type | 13 | testdata/typesigctx.reject.lc 1:6-1:7 Type |
16 | testdata/typesigctx.reject.lc 1:6-1:11 Type | 14 | testdata/typesigctx.reject.lc 1:6-1:11 Type |