summaryrefslogtreecommitdiff
path: root/testdata/language-features
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-04-30 00:47:07 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-04-30 00:47:07 +0200
commit1fd867e5beea5b4197f300e2e964c0f6b0035830 (patch)
tree61102cad73ffc7efdbf4ebf589f8ebd7720b3f82 /testdata/language-features
parentb08f6a129c452526b7c2667dcd629028d66ebf0a (diff)
fix pretty print syntax
Diffstat (limited to 'testdata/language-features')
-rw-r--r--testdata/language-features/adt/adt02.reject.out4
-rw-r--r--testdata/language-features/adt/gadt03.reject.out4
-rw-r--r--testdata/language-features/adt/gadt04.reject.out4
-rw-r--r--testdata/language-features/basic-values/data01.out12
-rw-r--r--testdata/language-features/basic-values/infix03.out4
5 files changed, 14 insertions, 14 deletions
diff --git a/testdata/language-features/adt/adt02.reject.out b/testdata/language-features/adt/adt02.reject.out
index 44db093f..6be18ea8 100644
--- a/testdata/language-features/adt/adt02.reject.out
+++ b/testdata/language-features/adt/adt02.reject.out
@@ -8,8 +8,8 @@ in proj
8'Data3 :: Type 8'Data3 :: Type
9Data3 :: 'Bool -> 'Char -> 'Bool -> 'Data3 9Data3 :: 'Bool -> 'Char -> 'Bool -> 'Data3
10Data31 :: 'Int -> 'String -> 'Int -> 'Data3 10Data31 :: 'Int -> 'String -> 'Int -> 'Data3
11'Data3Case :: (a :: 'Data3 -> Type) -> ((b :: 'Bool) -> (c :: 'Char) -> (d :: 'Bool) -> a (Data3 b c d)) -> ((e :: 'Int) -> (f :: 'String) -> (g :: 'Int) -> a (Data31 e f g)) -> (h :: 'Data3) -> a h 11'Data3Case :: forall (a :: 'Data3 -> Type) -> (forall (b :: 'Bool) (c :: 'Char) (d :: 'Bool) -> a (Data3 b c d)) -> (forall (e :: 'Int) (f :: 'String) (g :: 'Int) -> a (Data31 e f g)) -> forall (h :: 'Data3) -> a h
12match'Data3 :: (a :: Type -> Type) -> a 'Data3 -> (b :: Type) -> a b -> a b 12match'Data3 :: forall (a :: Type -> Type) -> a 'Data3 -> forall b -> a b -> a b
13!type error: can not unify 13!type error: can not unify
14'Bool 14'Bool
15with 15with
diff --git a/testdata/language-features/adt/gadt03.reject.out b/testdata/language-features/adt/gadt03.reject.out
index 9d9361c0..8aad9b35 100644
--- a/testdata/language-features/adt/gadt03.reject.out
+++ b/testdata/language-features/adt/gadt03.reject.out
@@ -2,8 +2,8 @@ illegal data definition (parameters are not uniform)
2------------ trace 2------------ trace
3'M2 :: Type -> 'String -> Type 3'M2 :: Type -> 'String -> Type
4Value2 :: forall a . a -> forall (b :: 'String) . 'M2 a b 4Value2 :: forall a . a -> forall (b :: 'String) . 'M2 a b
5'M2Case :: forall a . (b :: (c :: 'String) -> 'M2 a c -> Type) -> ((d :: a) -> forall (e :: 'String) . b e (Value2 d e)) -> forall (f :: 'String) . (g :: 'M2 a f) -> b f g 5'M2Case :: forall a . forall (b :: forall (c :: 'String) -> 'M2 a c -> Type) -> (forall (d :: a) -> forall (e :: 'String) . b e (Value2 d e)) -> forall (f :: 'String) . forall (g :: 'M2 a f) -> b f g
6match'M2 :: (a :: Type -> Type) -> ((b :: Type) -> (c :: 'String) -> a ('M2 b c)) -> (d :: Type) -> a d -> a d 6match'M2 :: forall (a :: Type -> Type) -> (forall b (c :: 'String) -> a ('M2 b c)) -> forall d -> a d -> a d
7'M3 :: Type -> 'String -> Type 7'M3 :: Type -> 'String -> Type
8!illegal data definition (parameters are not uniform) 8!illegal data definition (parameters are not uniform)
9------------ tooltips 9------------ tooltips
diff --git a/testdata/language-features/adt/gadt04.reject.out b/testdata/language-features/adt/gadt04.reject.out
index fc2b7c30..4efb2a15 100644
--- a/testdata/language-features/adt/gadt04.reject.out
+++ b/testdata/language-features/adt/gadt04.reject.out
@@ -7,8 +7,8 @@ and at testdata/language-features/adt/gadt04.reject.lc:3:3:
7------------ trace 7------------ trace
8'M :: Type -> 'String -> Type 8'M :: Type -> 'String -> Type
9Value :: forall a . a -> forall (b :: 'String) . 'M a b 9Value :: forall a . a -> forall (b :: 'String) . 'M a b
10'MCase :: (a :: (b :: Type) -> (c :: 'String) -> 'M b c -> Type) -> (forall d . (e :: d) -> forall (f :: 'String) . a d f (Value d e f)) -> forall g (h :: 'String) . (i :: 'M g h) -> a g h i 10'MCase :: forall (a :: forall b (c :: 'String) -> 'M b c -> Type) -> (forall d . forall (e :: d) -> forall (f :: 'String) . a d f (Value d e f)) -> forall g (h :: 'String) . forall (i :: 'M g h) -> a g h i
11match'M :: (a :: Type -> Type) -> ((b :: Type) -> (c :: 'String) -> a ('M b c)) -> (d :: Type) -> a d -> a d 11match'M :: forall (a :: Type -> Type) -> (forall b (c :: 'String) -> a ('M b c)) -> forall d -> a d -> a d
12'M2 :: Type -> 'String -> Type 12'M2 :: Type -> 'String -> Type
13Value :: forall a . a -> forall (b :: 'String) . 'M2 a b 13Value :: forall a . a -> forall (b :: 'String) . 'M2 a b
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:
diff --git a/testdata/language-features/basic-values/data01.out b/testdata/language-features/basic-values/data01.out
index affad824..b429a33b 100644
--- a/testdata/language-features/basic-values/data01.out
+++ b/testdata/language-features/basic-values/data01.out
@@ -4,20 +4,20 @@ main is not found
4B :: 'A 4B :: 'A
5C :: 'A 5C :: 'A
6D :: 'A 6D :: 'A
7'ACase :: (a :: 'A -> Type) -> a B -> a C -> a D -> (b :: 'A) -> a b 7'ACase :: forall (a :: 'A -> Type) -> a B -> a C -> a D -> forall (b :: 'A) -> a b
8match'A :: (a :: Type -> Type) -> a 'A -> (b :: Type) -> a b -> a b 8match'A :: forall (a :: Type -> Type) -> a 'A -> forall b -> a b -> a b
9'E :: Type 9'E :: Type
10F :: 'E 10F :: 'E
11G :: () -> 'E 11G :: () -> 'E
12H :: 'E 12H :: 'E
13'ECase :: (a :: 'E -> Type) -> a F -> ((b :: ()) -> a (G b)) -> a H -> (c :: 'E) -> a c 13'ECase :: forall (a :: 'E -> Type) -> a F -> (forall (b :: ()) -> a (G b)) -> a H -> forall (c :: 'E) -> a c
14match'E :: (a :: Type -> Type) -> a 'E -> (b :: Type) -> a b -> a b 14match'E :: forall (a :: Type -> Type) -> a 'E -> forall b -> a b -> a b
15'D1 :: Type 15'D1 :: Type
16C1 :: 'D1 16C1 :: 'D1
17C2 :: () -> 'D1 17C2 :: () -> 'D1
18C3 :: 'D1 18C3 :: 'D1
19'D1Case :: (a :: 'D1 -> Type) -> a C1 -> ((b :: ()) -> a (C2 b)) -> a C3 -> (c :: 'D1) -> a c 19'D1Case :: forall (a :: 'D1 -> Type) -> a C1 -> (forall (b :: ()) -> a (C2 b)) -> a C3 -> forall (c :: 'D1) -> a c
20match'D1 :: (a :: Type -> Type) -> a 'D1 -> (b :: Type) -> a b -> a b 20match'D1 :: forall (a :: Type -> Type) -> a 'D1 -> forall b -> a b -> a b
21------------ tooltips 21------------ tooltips
22testdata/language-features/basic-values/data01.lc 1:6-1:7 Type 22testdata/language-features/basic-values/data01.lc 1:6-1:7 Type
23testdata/language-features/basic-values/data01.lc 1:6-1:13 Type 23testdata/language-features/basic-values/data01.lc 1:6-1:13 Type
diff --git a/testdata/language-features/basic-values/infix03.out b/testdata/language-features/basic-values/infix03.out
index dcab8247..3420e35e 100644
--- a/testdata/language-features/basic-values/infix03.out
+++ b/testdata/language-features/basic-values/infix03.out
@@ -3,8 +3,8 @@ main is not found
3'D :: Type 3'D :: Type
4D2 :: () -> () -> 'D 4D2 :: () -> () -> 'D
5D3 :: () -> () -> () -> 'D 5D3 :: () -> () -> () -> 'D
6'DCase :: (a :: 'D -> Type) -> ((b :: ()) -> (c :: ()) -> a (D2 b c)) -> ((d :: ()) -> (e :: ()) -> (f :: ()) -> a (D3 d e f)) -> (g :: 'D) -> a g 6'DCase :: forall (a :: 'D -> Type) -> (forall (b :: ()) (c :: ()) -> a (D2 b c)) -> (forall (d :: ()) (e :: ()) (f :: ()) -> a (D3 d e f)) -> forall (g :: 'D) -> a g
7match'D :: (a :: Type -> Type) -> a 'D -> (b :: Type) -> a b -> a b 7match'D :: forall (a :: Type -> Type) -> a 'D -> forall b -> a b -> a b
8d2 :: () -> () -> 'D 8d2 :: () -> () -> 'D
9d3 :: () -> () -> () -> 'D 9d3 :: () -> () -> () -> 'D
10------------ tooltips 10------------ tooltips