summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2018-02-03 11:27:52 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2018-02-03 11:27:52 +0100
commitae57cbccce9288995bf39f25ed5c13e971f982ba (patch)
treed4f36905dbb0ba5b53758b3fe1af69025d98a576
parentaf006697ef975340d54bd820fd7459c9c26794eb (diff)
update error messages
-rw-r--r--testdata/language-features/adt/adt02.reject.out8
-rw-r--r--testdata/language-features/basic-list/list10.reject.out4
-rw-r--r--testdata/language-features/basic-list/listcomp08.reject.out4
-rw-r--r--testdata/language-features/basic-values/if03.reject.out4
-rw-r--r--testdata/language-features/guard/guard05.reject.out4
5 files changed, 12 insertions, 12 deletions
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out
index 80b3a964..e07abac2 100644
--- a/testdata/language-features/adt/adt02.reject.out
+++ b/testdata/language-features/adt/adt02.reject.out
@@ -1,9 +1,9 @@
1type error: can not unify 1type error: can not unify
2 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 2 <<installed-prelude-path>>/Internals.lc:63:6:
3 data Bool = False | True 3 data Bool = False | True
4 ^^^^ 4 ^^^^
5with 5with
6 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:58:6: 6 <<installed-prelude-path>>/Internals.lc:58:6:
7 data Int 7 data Int
8 ^^^ 8 ^^^
9in proj 9in proj
@@ -18,11 +18,11 @@ case'Data3
18 -> forall (h :: Data3) -> a h 18 -> forall (h :: Data3) -> a h
19match'Data3 :: forall (a :: Type -> Type) -> a Data3 -> forall b -> a b -> a b 19match'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/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 21 <<installed-prelude-path>>/Internals.lc:63:6:
22 data Bool = False | True 22 data Bool = False | True
23 ^^^^ 23 ^^^^
24with 24with
25 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:58:6: 25 <<installed-prelude-path>>/Internals.lc:58:6:
26 data Int 26 data Int
27 ^^^ 27 ^^^
28in proj 28in proj
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out
index 133c2522..1b9da45f 100644
--- a/testdata/language-features/basic-list/list10.reject.out
+++ b/testdata/language-features/basic-list/list10.reject.out
@@ -1,5 +1,5 @@
1type error: can not unify 1type error: can not unify
2 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:58:6: 2 <<installed-prelude-path>>/Internals.lc:58:6:
3 data Int 3 data Int
4 ^^^ 4 ^^^
5with 5with
@@ -7,7 +7,7 @@ with
7in [] 7in []
8------------ trace 8------------ trace
9!type error: can not unify 9!type error: can not unify
10 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:58:6: 10 <<installed-prelude-path>>/Internals.lc:58:6:
11 data Int 11 data Int
12 ^^^ 12 ^^^
13with 13with
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out
index 1c4a3006..da3892e6 100644
--- a/testdata/language-features/basic-list/listcomp08.reject.out
+++ b/testdata/language-features/basic-list/listcomp08.reject.out
@@ -1,5 +1,5 @@
1type error: can not unify 1type error: can not unify
2 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 2 <<installed-prelude-path>>/Internals.lc:63:6:
3 data Bool = False | True 3 data Bool = False | True
4 ^^^^ 4 ^^^^
5with 5with
@@ -9,7 +9,7 @@ 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/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 12 <<installed-prelude-path>>/Internals.lc:63:6:
13 data Bool = False | True 13 data Bool = False | True
14 ^^^^ 14 ^^^^
15with 15with
diff --git a/testdata/language-features/basic-values/if03.reject.out b/testdata/language-features/basic-values/if03.reject.out
index b2061178..c042b94b 100644
--- a/testdata/language-features/basic-values/if03.reject.out
+++ b/testdata/language-features/basic-values/if03.reject.out
@@ -1,5 +1,5 @@
1type error: can not unify 1type error: can not unify
2 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 2 <<installed-prelude-path>>/Internals.lc:63:6:
3 data Bool = False | True 3 data Bool = False | True
4 ^^^^ 4 ^^^^
5with 5with
@@ -9,7 +9,7 @@ value1 = if () then () else ()
9 ^^ 9 ^^
10------------ trace 10------------ trace
11!type error: can not unify 11!type error: can not unify
12 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 12 <<installed-prelude-path>>/Internals.lc:63:6:
13 data Bool = False | True 13 data Bool = False | True
14 ^^^^ 14 ^^^^
15with 15with
diff --git a/testdata/language-features/guard/guard05.reject.out b/testdata/language-features/guard/guard05.reject.out
index ba6f9738..3b4ddaa2 100644
--- a/testdata/language-features/guard/guard05.reject.out
+++ b/testdata/language-features/guard/guard05.reject.out
@@ -1,5 +1,5 @@
1type error: can not unify 1type error: can not unify
2 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 2 <<installed-prelude-path>>/Internals.lc:63:6:
3 data Bool = False | True 3 data Bool = False | True
4 ^^^^ 4 ^^^^
5with 5with
@@ -9,7 +9,7 @@ value | () = "wrong"
9 ^^ 9 ^^
10------------ trace 10------------ trace
11!type error: can not unify 11!type error: can not unify
12 /home/csaba/haskell/lambdacube-compiler/.stack-work/install/x86_64-linux/lts-10.4/8.2.2/share/x86_64-linux-ghc-8.2.2/lambdacube-compiler-0.6.1.0/lc/Internals.lc:63:6: 12 <<installed-prelude-path>>/Internals.lc:63:6:
13 data Bool = False | True 13 data Bool = False | True
14 ^^^^ 14 ^^^^
15with 15with