summaryrefslogtreecommitdiff
path: root/testdata/language-features
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-04 11:01:16 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-04 11:01:16 +0200
commit51b37f58afba2c9aaf80bb49267aa7b74f757d52 (patch)
treef6f3cf5c3f079dc8559fefd470effba7b3e0933a /testdata/language-features
parent4fd500adc5a8eee72caca044bac5fd11ef10c6b5 (diff)
improve pretty print
Diffstat (limited to 'testdata/language-features')
-rw-r--r--testdata/language-features/adt/adt02.reject.out8
-rw-r--r--testdata/language-features/basic-list/list07.reject.out8
-rw-r--r--testdata/language-features/basic-list/list10.reject.out8
-rw-r--r--testdata/language-features/basic-list/list14.reject.out8
-rw-r--r--testdata/language-features/basic-list/list15.reject.out8
-rw-r--r--testdata/language-features/basic-list/list16.reject.out8
-rw-r--r--testdata/language-features/basic-list/listcomp08.reject.out8
-rw-r--r--testdata/language-features/basic-values/case04.reject.out8
-rw-r--r--testdata/language-features/basic-values/if03.reject.out8
-rw-r--r--testdata/language-features/basic-values/if04.reject.out8
-rw-r--r--testdata/language-features/guard/guard02.reject.out8
-rw-r--r--testdata/language-features/guard/guard05.reject.out8
-rw-r--r--testdata/language-features/guard/guard12.reject.out8
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 @@
1type error: can not unify 1type error: can not unify
2'Bool 2'Bool
3with 3with
4'Int 4'Int
5 5
6in proj 6in proj
7------------ trace 7------------ trace
@@ -15,9 +15,9 @@ case'Data3
15 -> forall (h :: Data3) -> a h 15 -> forall (h :: Data3) -> a h
16match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b 16match'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'Bool 18'Bool
19with 19with
20'Int 20'Int
21 21
22in proj 22in 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 @@
1type error: can not unify 1type error: can not unify
2'Float 2'Float
3with 3with
4'Char 4'Char
5 5
6in builtin Nil 6in builtin Nil
7------------ trace 7------------ trace
8!type error: can not unify 8!type error: can not unify
9'Float 9'Float
10with 10with
11'Char 11'Char
12 12
13in builtin Nil 13in 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 @@
1type error: can not unify 1type error: can not unify
2'Int 2'Int
3with 3with
4'Float 4'Float
5 5
6in builtin Nil 6in builtin Nil
7------------ trace 7------------ trace
8!type error: can not unify 8!type error: can not unify
9'Int 9'Int
10with 10with
11'Float 11'Float
12 12
13in builtin Nil 13in 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 @@
1type error: can not unify 1type error: can not unify
2['Char] 2['Char]
3with 3with
4() 4()
5 5
6in testdata/language-features/basic-list/list14.reject.lc:1:17: 6in testdata/language-features/basic-list/list14.reject.lc:1:17:
7value = 'h':'i':() 7value = 'h':'i':()
8 ^^ 8 ^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11['Char] 11['Char]
12with 12with
13() 13()
14 14
15in testdata/language-features/basic-list/list14.reject.lc:1:17: 15in testdata/language-features/basic-list/list14.reject.lc:1:17:
16value = 'h':'i':() 16value = '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 @@
1type error: can not unify 1type error: can not unify
2'Char 2'Char
3with 3with
4() 4()
5 5
6in testdata/language-features/basic-list/list15.reject.lc:1:20: 6in testdata/language-features/basic-list/list15.reject.lc:1:20:
7value = 'h':'i':():[] 7value = 'h':'i':():[]
8 ^^ 8 ^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11'Char 11'Char
12with 12with
13() 13()
14 14
15in testdata/language-features/basic-list/list15.reject.lc:1:20: 15in testdata/language-features/basic-list/list15.reject.lc:1:20:
16value = 'h':'i':():[] 16value = '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 @@
1type error: can not unify 1type error: can not unify
2['Char] 2['Char]
3with 3with
4'Char 4'Char
5 5
6in testdata/language-features/basic-list/list16.reject.lc:1:13: 6in testdata/language-features/basic-list/list16.reject.lc:1:13:
7value = 'h':'i' 7value = 'h':'i'
8 ^^^ 8 ^^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11['Char] 11['Char]
12with 12with
13'Char 13'Char
14 14
15in testdata/language-features/basic-list/list16.reject.lc:1:13: 15in testdata/language-features/basic-list/list16.reject.lc:1:13:
16value = 'h':'i' 16value = '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 @@
1type error: can not unify 1type error: can not unify
2'Bool 2'Bool
3with 3with
4'String 4'String
5 5
6in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: 6in testdata/language-features/basic-list/listcomp08.reject.lc:1:23:
7value = [x | x <- [], "not Bool"] 7value = [x | x <- [], "not Bool"]
8 ^^^^^^^^^^ 8 ^^^^^^^^^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11'Bool 11'Bool
12with 12with
13'String 13'String
14 14
15in testdata/language-features/basic-list/listcomp08.reject.lc:1:23: 15in testdata/language-features/basic-list/listcomp08.reject.lc:1:23:
16value = [x | x <- [], "not Bool"] 16value = [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 @@
1type error: can not unify 1type error: can not unify
2() 2()
3with 3with
4'Char 4'Char
5 5
6in testdata/language-features/basic-values/case04.reject.lc:2:8: 6in 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() 11()
12with 12with
13'Char 13'Char
14 14
15in testdata/language-features/basic-values/case04.reject.lc:2:8: 15in 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 @@
1type error: can not unify 1type error: can not unify
2'Bool 2'Bool
3with 3with
4() 4()
5 5
6in testdata/language-features/basic-values/if03.reject.lc:1:13: 6in testdata/language-features/basic-values/if03.reject.lc:1:13:
7value1 = if () then () else () 7value1 = if () then () else ()
8 ^^ 8 ^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11'Bool 11'Bool
12with 12with
13() 13()
14 14
15in testdata/language-features/basic-values/if03.reject.lc:1:13: 15in testdata/language-features/basic-values/if03.reject.lc:1:13:
16value1 = if () then () else () 16value1 = 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 @@
1type error: can not unify 1type error: can not unify
2() 2()
3with 3with
4'Char 4'Char
5 5
6in testdata/language-features/basic-values/if04.reject.lc:1:31: 6in testdata/language-features/basic-values/if04.reject.lc:1:31:
7value1 = if True then () else '_' 7value1 = if True then () else '_'
8 ^^^ 8 ^^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11() 11()
12with 12with
13'Char 13'Char
14 14
15in testdata/language-features/basic-values/if04.reject.lc:1:31: 15in testdata/language-features/basic-values/if04.reject.lc:1:31:
16value1 = if True then () else '_' 16value1 = 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 @@
1type error: can not unify 1type error: can not unify
2'String 2'String
3with 3with
4() 4()
5 5
6in testdata/language-features/guard/guard02.reject.lc:2:12: 6in 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'String 11'String
12with 12with
13() 13()
14 14
15in testdata/language-features/guard/guard02.reject.lc:2:12: 15in 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 @@
1type error: can not unify 1type error: can not unify
2'Bool 2'Bool
3with 3with
4() 4()
5 5
6in testdata/language-features/guard/guard05.reject.lc:1:9: 6in testdata/language-features/guard/guard05.reject.lc:1:9:
7value | () = "wrong" 7value | () = "wrong"
8 ^^ 8 ^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11'Bool 11'Bool
12with 12with
13() 13()
14 14
15in testdata/language-features/guard/guard05.reject.lc:1:9: 15in testdata/language-features/guard/guard05.reject.lc:1:9:
16value | () = "wrong" 16value | () = "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 @@
1type error: can not unify 1type error: can not unify
2'Char 2'Char
3with 3with
4() 4()
5 5
6in testdata/language-features/guard/guard12.reject.lc:1:13: 6in testdata/language-features/guard/guard12.reject.lc:1:13:
7fun x | x = () | otherwise = 'a' 7fun x | x = () | otherwise = 'a'
8 ^^ 8 ^^
9------------ trace 9------------ trace
10!type error: can not unify 10!type error: can not unify
11'Char 11'Char
12with 12with
13() 13()
14 14
15in testdata/language-features/guard/guard12.reject.lc:1:13: 15in testdata/language-features/guard/guard12.reject.lc:1:13:
16fun x | x = () | otherwise = 'a' 16fun x | x = () | otherwise = 'a'