diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-04 11:01:16 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-04 11:01:16 +0200 |
commit | 51b37f58afba2c9aaf80bb49267aa7b74f757d52 (patch) | |
tree | f6f3cf5c3f079dc8559fefd470effba7b3e0933a /testdata/language-features | |
parent | 4fd500adc5a8eee72caca044bac5fd11ef10c6b5 (diff) |
improve pretty print
Diffstat (limited to 'testdata/language-features')
13 files changed, 52 insertions, 52 deletions
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out index 155444a2..9be810e4 100644 --- a/testdata/language-features/adt/adt02.reject.out +++ b/testdata/language-features/adt/adt02.reject.out | |||
@@ -1,7 +1,7 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Bool[0m | 2 | 'Bool |
3 | with | 3 | with |
4 | [32m'Int[0m | 4 | 'Int |
5 | 5 | ||
6 | in proj | 6 | in proj |
7 | ------------ trace | 7 | ------------ trace |
@@ -15,9 +15,9 @@ case'Data3 | |||
15 | -> forall (h :: Data3) -> a h | 15 | -> forall (h :: Data3) -> a h |
16 | match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b | 16 | match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b |
17 | !type error: can not unify | 17 | !type error: can not unify |
18 | [32m'Bool[0m | 18 | 'Bool |
19 | with | 19 | with |
20 | [32m'Int[0m | 20 | 'Int |
21 | 21 | ||
22 | in proj | 22 | in proj |
23 | ------------ tooltips | 23 | ------------ tooltips |
diff --git a/testdata/language-features/basic-list/list07.reject.out b/testdata/language-features/basic-list/list07.reject.out index a40c8c73..106e8c65 100644 --- a/testdata/language-features/basic-list/list07.reject.out +++ b/testdata/language-features/basic-list/list07.reject.out | |||
@@ -1,14 +1,14 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Float[0m | 2 | 'Float |
3 | with | 3 | with |
4 | [32m'Char[0m | 4 | 'Char |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | ------------ trace | 7 | ------------ trace |
8 | !type error: can not unify | 8 | !type error: can not unify |
9 | [32m'Float[0m | 9 | 'Float |
10 | with | 10 | with |
11 | [32m'Char[0m | 11 | 'Char |
12 | 12 | ||
13 | in builtin Nil | 13 | in builtin Nil |
14 | ------------ tooltips | 14 | ------------ tooltips |
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out index 0ce8bd30..f84914ac 100644 --- a/testdata/language-features/basic-list/list10.reject.out +++ b/testdata/language-features/basic-list/list10.reject.out | |||
@@ -1,14 +1,14 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Int[0m | 2 | 'Int |
3 | with | 3 | with |
4 | [32m'Float[0m | 4 | 'Float |
5 | 5 | ||
6 | in builtin Nil | 6 | in builtin Nil |
7 | ------------ trace | 7 | ------------ trace |
8 | !type error: can not unify | 8 | !type error: can not unify |
9 | [32m'Int[0m | 9 | 'Int |
10 | with | 10 | with |
11 | [32m'Float[0m | 11 | 'Float |
12 | 12 | ||
13 | in builtin Nil | 13 | in builtin Nil |
14 | ------------ tooltips | 14 | ------------ tooltips |
diff --git a/testdata/language-features/basic-list/list14.reject.out b/testdata/language-features/basic-list/list14.reject.out index a8d86a22..65cfb9e0 100644 --- a/testdata/language-features/basic-list/list14.reject.out +++ b/testdata/language-features/basic-list/list14.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m['Char][0m | 2 | ['Char] |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m['Char][0m | 11 | ['Char] |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/basic-list/list14.reject.lc:1:17: | 15 | in testdata/language-features/basic-list/list14.reject.lc:1:17: |
16 | value = 'h':'i':() | 16 | value = 'h':'i':() |
diff --git a/testdata/language-features/basic-list/list15.reject.out b/testdata/language-features/basic-list/list15.reject.out index 4260adbe..c64dccf4 100644 --- a/testdata/language-features/basic-list/list15.reject.out +++ b/testdata/language-features/basic-list/list15.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Char[0m | 2 | 'Char |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'Char[0m | 11 | 'Char |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/basic-list/list15.reject.lc:1:20: | 15 | in testdata/language-features/basic-list/list15.reject.lc:1:20: |
16 | value = 'h':'i':():[] | 16 | value = 'h':'i':():[] |
diff --git a/testdata/language-features/basic-list/list16.reject.out b/testdata/language-features/basic-list/list16.reject.out index 912f567c..be6468cb 100644 --- a/testdata/language-features/basic-list/list16.reject.out +++ b/testdata/language-features/basic-list/list16.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m['Char][0m | 2 | ['Char] |
3 | with | 3 | with |
4 | [32m'Char[0m | 4 | 'Char |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m['Char][0m | 11 | ['Char] |
12 | with | 12 | with |
13 | [32m'Char[0m | 13 | 'Char |
14 | 14 | ||
15 | in testdata/language-features/basic-list/list16.reject.lc:1:13: | 15 | in testdata/language-features/basic-list/list16.reject.lc:1:13: |
16 | value = 'h':'i' | 16 | value = 'h':'i' |
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out index 6ecdfd71..1313a611 100644 --- a/testdata/language-features/basic-list/listcomp08.reject.out +++ b/testdata/language-features/basic-list/listcomp08.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Bool[0m | 2 | 'Bool |
3 | with | 3 | with |
4 | [32m'String[0m | 4 | 'String |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'Bool[0m | 11 | 'Bool |
12 | with | 12 | with |
13 | [32m'String[0m | 13 | 'String |
14 | 14 | ||
15 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: | 15 | in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
16 | value = [x | x <- [], "not Bool"] | 16 | value = [x | x <- [], "not Bool"] |
diff --git a/testdata/language-features/basic-values/case04.reject.out b/testdata/language-features/basic-values/case04.reject.out index 00cb4f39..55011f4d 100644 --- a/testdata/language-features/basic-values/case04.reject.out +++ b/testdata/language-features/basic-values/case04.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m()[0m | 2 | () |
3 | with | 3 | with |
4 | [32m'Char[0m | 4 | 'Char |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m()[0m | 11 | () |
12 | with | 12 | with |
13 | [32m'Char[0m | 13 | 'Char |
14 | 14 | ||
15 | in testdata/language-features/basic-values/case04.reject.lc:2:8: | 15 | in testdata/language-features/basic-values/case04.reject.lc:2:8: |
16 | 1 -> '1' | 16 | 1 -> '1' |
diff --git a/testdata/language-features/basic-values/if03.reject.out b/testdata/language-features/basic-values/if03.reject.out index 9ba86d9c..d72492c4 100644 --- a/testdata/language-features/basic-values/if03.reject.out +++ b/testdata/language-features/basic-values/if03.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Bool[0m | 2 | 'Bool |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'Bool[0m | 11 | 'Bool |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/basic-values/if03.reject.lc:1:13: | 15 | in testdata/language-features/basic-values/if03.reject.lc:1:13: |
16 | value1 = if () then () else () | 16 | value1 = if () then () else () |
diff --git a/testdata/language-features/basic-values/if04.reject.out b/testdata/language-features/basic-values/if04.reject.out index c0df8c35..795be098 100644 --- a/testdata/language-features/basic-values/if04.reject.out +++ b/testdata/language-features/basic-values/if04.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m()[0m | 2 | () |
3 | with | 3 | with |
4 | [32m'Char[0m | 4 | 'Char |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m()[0m | 11 | () |
12 | with | 12 | with |
13 | [32m'Char[0m | 13 | 'Char |
14 | 14 | ||
15 | in testdata/language-features/basic-values/if04.reject.lc:1:31: | 15 | in testdata/language-features/basic-values/if04.reject.lc:1:31: |
16 | value1 = if True then () else '_' | 16 | value1 = if True then () else '_' |
diff --git a/testdata/language-features/guard/guard02.reject.out b/testdata/language-features/guard/guard02.reject.out index c46ac690..262f63a1 100644 --- a/testdata/language-features/guard/guard02.reject.out +++ b/testdata/language-features/guard/guard02.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'String[0m | 2 | 'String |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'String[0m | 11 | 'String |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/guard/guard02.reject.lc:2:12: | 15 | in testdata/language-features/guard/guard02.reject.lc:2:12: |
16 | | True = () | 16 | | True = () |
diff --git a/testdata/language-features/guard/guard05.reject.out b/testdata/language-features/guard/guard05.reject.out index fa30af80..07cea5f5 100644 --- a/testdata/language-features/guard/guard05.reject.out +++ b/testdata/language-features/guard/guard05.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Bool[0m | 2 | 'Bool |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'Bool[0m | 11 | 'Bool |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/guard/guard05.reject.lc:1:9: | 15 | in testdata/language-features/guard/guard05.reject.lc:1:9: |
16 | value | () = "wrong" | 16 | value | () = "wrong" |
diff --git a/testdata/language-features/guard/guard12.reject.out b/testdata/language-features/guard/guard12.reject.out index 7ac38fa8..1225b2b3 100644 --- a/testdata/language-features/guard/guard12.reject.out +++ b/testdata/language-features/guard/guard12.reject.out | |||
@@ -1,16 +1,16 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | [32m'Char[0m | 2 | 'Char |
3 | with | 3 | with |
4 | [32m()[0m | 4 | () |
5 | 5 | ||
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 | ------------ trace | 9 | ------------ trace |
10 | !type error: can not unify | 10 | !type error: can not unify |
11 | [32m'Char[0m | 11 | 'Char |
12 | with | 12 | with |
13 | [32m()[0m | 13 | () |
14 | 14 | ||
15 | in testdata/language-features/guard/guard12.reject.lc:1:13: | 15 | in testdata/language-features/guard/guard12.reject.lc:1:13: |
16 | fun x | x = () | otherwise = 'a' | 16 | fun x | x = () | otherwise = 'a' |