summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-04 10:37:44 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-04 10:37:44 +0200
commit4fd500adc5a8eee72caca044bac5fd11ef10c6b5 (patch)
tree9c5267c477a746bbef2ba9eb360b7606434675b5 /testdata
parent0dc09e81832aa1495ef9f213bf091f4a1620ab05 (diff)
fix pretty print
Diffstat (limited to 'testdata')
-rw-r--r--testdata/Builtins.out30
-rw-r--r--testdata/Internals.out15
-rw-r--r--testdata/Prelude.out32
-rw-r--r--testdata/framebuffer02.reject.out8
-rw-r--r--testdata/language-features/adt/adt05.out4
-rw-r--r--testdata/language-features/as-pattern/as-pattern01.out4
-rw-r--r--testdata/language-features/as-pattern/as-pattern02.out4
-rw-r--r--testdata/language-features/basic-list/dotdot01.out4
-rw-r--r--testdata/record01.reject.out101
-rw-r--r--testdata/traceTest.out4
-rw-r--r--testdata/typesig.reject.out4
11 files changed, 96 insertions, 114 deletions
diff --git a/testdata/Builtins.out b/testdata/Builtins.out
index a89bcaee..314c01c4 100644
--- a/testdata/Builtins.out
+++ b/testdata/Builtins.out
@@ -1855,15 +1855,15 @@ match'Interpolated
1855 -> (forall b -> a (Interpolated b)) -> forall c -> a c -> a c 1855 -> (forall b -> a (Interpolated b)) -> forall c -> a c -> a c
1856rasterizePrimitive 1856rasterizePrimitive
1857 :: forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType) 1857 :: forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType)
1858 . (map Type Type Interpolated a ~ b, c ~ : (Vec 4 Float) a) 1858 . (map Type Type Interpolated a ~ b, c ~ Vec 4 Float : a)
1859 => HList b 1859 => HList b
1860 -> RasterContext (HList c) d 1860 -> RasterContext (HList c) d
1861 -> Primitive (HList c) d -> FragmentStream 1 (HList a) 1861 -> Primitive (HList c) d -> FragmentStream 1 (HList a)
1862rasterizePrimitives 1862rasterizePrimitives
1863 :: forall (a :: [Type]) (b :: PrimitiveType) 1863 :: forall (a :: [Type]) (b :: PrimitiveType)
1864 . RasterContext (HList (: (Vec 4 Float) a)) b 1864 . RasterContext (HList (Vec 4 Float : a)) b
1865 -> HList (map Type Type Interpolated a) 1865 -> HList (map Type Type Interpolated a)
1866 -> [Primitive (HList (: (Vec 4 Float) a)) b] 1866 -> [Primitive (HList (Vec 4 Float : a)) b]
1867 -> [Vector 1 (Maybe (SimpleFragment (HList a)))] 1867 -> [Vector 1 (Maybe (SimpleFragment (HList a)))]
1868'ImageLC :: Type -> Nat 1868'ImageLC :: Type -> Nat
1869allSame :: forall a . [a] -> Type 1869allSame :: forall a . [a] -> Type
@@ -1909,9 +1909,9 @@ accumulate
1909 -> [Vector a (Maybe (SimpleFragment c))] 1909 -> [Vector a (Maybe (SimpleFragment c))]
1910 -> FrameBuffer a (map Type ImageKind FragmentOperationKind b) 1910 -> FrameBuffer a (map Type ImageKind FragmentOperationKind b)
1911 -> FrameBuffer a (map Type ImageKind FragmentOperationKind b) 1911 -> FrameBuffer a (map Type ImageKind FragmentOperationKind b)
1912PrjImage :: forall (a :: ImageKind) . FrameBuffer 1 (: a '[]) -> Image 1 a 1912PrjImage :: forall (a :: ImageKind) . FrameBuffer 1 (a : []) -> Image 1 a
1913PrjImageColor 1913PrjImageColor
1914 :: FrameBuffer 1 (: 'Depth (: ('Color (Vec 4 Float)) '[])) 1914 :: FrameBuffer 1 ('Depth : 'Color (Vec 4 Float) : [])
1915 -> Image 1 ('Color (Vec 4 Float)) 1915 -> Image 1 ('Color (Vec 4 Float))
1916'Output :: Type 1916'Output :: Type
1917ScreenOut :: forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output 1917ScreenOut :: forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output
@@ -6595,7 +6595,7 @@ testdata/Builtins.lc 478:55-478:56
6595 Type 6595 Type
6596testdata/Builtins.lc 480:1-480:19 6596testdata/Builtins.lc 480:1-480:19
6597 forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType) 6597 forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType)
6598 . (map Type Type Interpolated a ~ b, c ~ : (Vec 4 Float) a) 6598 . (map Type Type Interpolated a ~ b, c ~ Vec 4 Float : a)
6599 => HList b 6599 => HList b
6600 -> RasterContext (HList c) d 6600 -> RasterContext (HList c) d
6601 -> Primitive (HList c) d -> FragmentStream 1 (HList a) 6601 -> Primitive (HList c) d -> FragmentStream 1 (HList a)
@@ -6703,9 +6703,9 @@ testdata/Builtins.lc 486:32-486:33
6703 [Type] 6703 [Type]
6704testdata/Builtins.lc 488:1-488:20 6704testdata/Builtins.lc 488:1-488:20
6705 forall (a :: [Type]) (b :: PrimitiveType) 6705 forall (a :: [Type]) (b :: PrimitiveType)
6706 . RasterContext (HList (: (Vec 4 Float) a)) b 6706 . RasterContext (HList (Vec 4 Float : a)) b
6707 -> HList (map Type Type Interpolated a) 6707 -> HList (map Type Type Interpolated a)
6708 -> [Primitive (HList (: (Vec 4 Float) a)) b] 6708 -> [Primitive (HList (Vec 4 Float : a)) b]
6709 -> [Vector 1 (Maybe (SimpleFragment (HList a)))] 6709 -> [Vector 1 (Maybe (SimpleFragment (HList a)))]
6710testdata/Builtins.lc 488:32-488:38 6710testdata/Builtins.lc 488:32-488:38
6711 forall a . [[a]] -> [a] 6711 forall a . [[a]] -> [a]
@@ -6714,20 +6714,20 @@ testdata/Builtins.lc 488:32-488:74
6714testdata/Builtins.lc 488:40-488:43 6714testdata/Builtins.lc 488:40-488:43
6715 forall a b . (a -> b) -> [a] -> [b] 6715 forall a b . (a -> b) -> [a] -> [b]
6716testdata/Builtins.lc 488:40-488:71 6716testdata/Builtins.lc 488:40-488:71
6717 [Primitive (HList (: (Vec 4 Float) _b)) _a] -> [[Fragment 1 (HList _b)]] 6717 [Primitive (HList (Vec 4 Float : _b)) _a] -> [[Fragment 1 (HList _b)]]
6718testdata/Builtins.lc 488:40-488:73 6718testdata/Builtins.lc 488:40-488:73
6719 [[Fragment 1 (HList _b)]] 6719 [[Fragment 1 (HList _b)]]
6720testdata/Builtins.lc 488:45-488:63 6720testdata/Builtins.lc 488:45-488:63
6721 forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType) 6721 forall (a :: [Type]) (b :: [Type]) (c :: [Type]) (d :: PrimitiveType)
6722 . (map Type Type Interpolated a ~ b, c ~ : (Vec 4 Float) a) 6722 . (map Type Type Interpolated a ~ b, c ~ Vec 4 Float : a)
6723 => HList b 6723 => HList b
6724 -> RasterContext (HList c) d 6724 -> RasterContext (HList c) d
6725 -> Primitive (HList c) d -> FragmentStream 1 (HList a) 6725 -> Primitive (HList c) d -> FragmentStream 1 (HList a)
6726testdata/Builtins.lc 488:45-488:66 6726testdata/Builtins.lc 488:45-488:66
6727 RasterContext (HList (: (Vec 4 Float) _b)) _a 6727 RasterContext (HList (Vec 4 Float : _b)) _a
6728 -> Primitive (HList (: (Vec 4 Float) _b)) _a -> FragmentStream 1 (HList _b) 6728 -> Primitive (HList (Vec 4 Float : _b)) _a -> FragmentStream 1 (HList _b)
6729testdata/Builtins.lc 488:45-488:70 6729testdata/Builtins.lc 488:45-488:70
6730 Primitive (HList (: (Vec 4 Float) _b)) _a -> FragmentStream 1 (HList _b) 6730 Primitive (HList (Vec 4 Float : _b)) _a -> FragmentStream 1 (HList _b)
6731testdata/Builtins.lc 488:64-488:66 6731testdata/Builtins.lc 488:64-488:66
6732 _i 6732 _i
6733testdata/Builtins.lc 488:67-488:70 6733testdata/Builtins.lc 488:67-488:70
@@ -7095,7 +7095,7 @@ testdata/Builtins.lc 534:71-534:75
7095testdata/Builtins.lc 534:77-534:79 7095testdata/Builtins.lc 534:77-534:79
7096 _e 7096 _e
7097testdata/Builtins.lc 537:1-537:9 7097testdata/Builtins.lc 537:1-537:9
7098 forall (a :: ImageKind) . FrameBuffer 1 (: a '[]) -> Image 1 a 7098 forall (a :: ImageKind) . FrameBuffer 1 (a : []) -> Image 1 a
7099testdata/Builtins.lc 537:24-537:35 7099testdata/Builtins.lc 537:24-537:35
7100 Nat -> [ImageKind] -> Type 7100 Nat -> [ImageKind] -> Type
7101testdata/Builtins.lc 537:24-537:37 7101testdata/Builtins.lc 537:24-537:37
@@ -7121,7 +7121,7 @@ testdata/Builtins.lc 537:52-537:53
7121testdata/Builtins.lc 537:54-537:55 7121testdata/Builtins.lc 537:54-537:55
7122 ImageKind 7122 ImageKind
7123testdata/Builtins.lc 538:1-538:14 7123testdata/Builtins.lc 538:1-538:14
7124 FrameBuffer 1 (: 'Depth (: ('Color (Vec 4 Float)) '[])) 7124 FrameBuffer 1 ('Depth : 'Color (Vec 4 Float) : [])
7125 -> Image 1 ('Color (Vec 4 Float)) 7125 -> Image 1 ('Color (Vec 4 Float))
7126testdata/Builtins.lc 538:24-538:35 7126testdata/Builtins.lc 538:24-538:35
7127 Nat -> [ImageKind] -> Type 7127 Nat -> [ImageKind] -> Type
diff --git a/testdata/Internals.out b/testdata/Internals.out
index 6b92c14b..a2e3f926 100644
--- a/testdata/Internals.out
+++ b/testdata/Internals.out
@@ -338,18 +338,17 @@ negate :: forall a . Num a => a -> a
338case'List 338case'List
339 :: forall a 339 :: forall a
340 . forall (b :: [a] -> Type) 340 . forall (b :: [a] -> Type)
341 -> b '[] 341 -> b [] -> (forall (c :: a) (d :: [a]) -> b (c : d)) -> forall (e :: [a]) -> b e
342 -> (forall (c :: a) (d :: [a]) -> b (: c d)) -> forall (e :: [a]) -> b e
343match'List 342match'List
344 :: forall (a :: Type -> Type) -> (forall b -> a [b]) -> forall c -> a c -> a c 343 :: forall (a :: Type -> Type) -> (forall b -> a [b]) -> forall c -> a c -> a c
345'HList :: [Type] -> Type 344'HList :: [Type] -> Type
346HNil :: () 345HNil :: ()
347HCons :: forall a (b :: [Type]) . a -> HList b -> HList (: a b) 346HCons :: forall a (b :: [Type]) . a -> HList b -> HList (a : b)
348case'HList 347case'HList
349 :: forall (a :: forall (b :: [Type]) -> HList b -> Type) 348 :: forall (a :: forall (b :: [Type]) -> HList b -> Type)
350 -> a '[] () 349 -> a [] ()
351 -> (forall c (d :: [Type]) 350 -> (forall c (d :: [Type])
352 . forall (e :: c) (f :: HList d) -> a (: c d) ('HCons c d e f)) 351 . forall (e :: c) (f :: HList d) -> a (c : d) ('HCons c d e f))
353 -> forall (g :: [Type]) . forall (h :: HList g) -> a g h 352 -> forall (g :: [Type]) . forall (h :: HList g) -> a g h
354match'HList 353match'HList
355 :: forall (a :: Type -> Type) 354 :: forall (a :: Type -> Type)
@@ -357,7 +356,7 @@ match'HList
357hlistNilCase :: forall a -> a -> () -> a 356hlistNilCase :: forall a -> a -> () -> a
358hlistConsCase 357hlistConsCase
359 :: forall a (b :: [Type]) 358 :: forall a (b :: [Type])
360 . forall c -> (a -> HList b -> c) -> HList (: a b) -> c 359 . forall c -> (a -> HList b -> c) -> HList (a : b) -> c
361------------ tooltips 360------------ tooltips
362testdata/Internals.lc 6:1-6:8 361testdata/Internals.lc 6:1-6:8
363 forall a . a -> a 362 forall a . a -> a
@@ -904,7 +903,7 @@ testdata/Internals.lc 127:13-127:22
904testdata/Internals.lc 127:19-127:22 903testdata/Internals.lc 127:19-127:22
905 forall a . [a] | forall a . [a] 904 forall a . [a] | forall a . [a]
906testdata/Internals.lc 128:5-128:10 905testdata/Internals.lc 128:5-128:10
907 forall a (b :: [Type]) . a -> HList b -> HList (: a b) | HList (: _d _c) 906 forall a (b :: [Type]) . a -> HList b -> HList (a : b) | HList (_d : _c)
908testdata/Internals.lc 128:5-128:45 907testdata/Internals.lc 128:5-128:45
909 Type | Type | Type | Type | Type 908 Type | Type | Type | Type | Type
910testdata/Internals.lc 128:14-128:15 909testdata/Internals.lc 128:14-128:15
@@ -950,7 +949,7 @@ testdata/Internals.lc 130:40-130:43
950testdata/Internals.lc 130:47-130:48 949testdata/Internals.lc 130:47-130:48
951 Type | Type 950 Type | Type
952testdata/Internals.lc 131:1-131:14 951testdata/Internals.lc 131:1-131:14
953 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (: a b) -> c 952 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (a : b) -> c
954testdata/Internals.lc 132:21-132:25 953testdata/Internals.lc 132:21-132:25
955 Type 954 Type
956testdata/Internals.lc 132:33-132:37 955testdata/Internals.lc 132:33-132:37
diff --git a/testdata/Prelude.out b/testdata/Prelude.out
index a1e29933..7e0353ff 100644
--- a/testdata/Prelude.out
+++ b/testdata/Prelude.out
@@ -687,8 +687,8 @@ match'RecordC
687 :: forall (a :: Type -> Type) 687 :: forall (a :: Type -> Type)
688 -> (forall (b :: [RecItem]) -> a (RecordC b)) -> forall c -> a c -> a c 688 -> (forall (b :: [RecItem]) -> a (RecordC b)) -> forall c -> a c -> a c
689isKeyC :: String -> Type -> [RecItem] -> Type 689isKeyC :: String -> Type -> [RecItem] -> Type
690fstTup :: forall a (b :: [Type]) . HList (: a b) -> a 690fstTup :: forall a (b :: [Type]) . HList (a : b) -> a
691sndTup :: forall a (b :: [Type]) . HList (: a b) -> HList b 691sndTup :: forall a (b :: [Type]) . HList (a : b) -> HList b
692project 692project
693 :: forall a (b :: [RecItem]) 693 :: forall a (b :: [RecItem])
694 . forall (c :: String) -> isKeyC c a b => RecordC b -> a 694 . forall (c :: String) -> isKeyC c a b => RecordC b -> a
@@ -1468,23 +1468,23 @@ testdata/Prelude.lc 130:71-130:72
1468testdata/Prelude.lc 130:73-130:75 1468testdata/Prelude.lc 130:73-130:75
1469 [_i] 1469 [_i]
1470testdata/Prelude.lc 132:1-132:7 1470testdata/Prelude.lc 132:1-132:7
1471 forall a (b :: [Type]) . HList (: a b) -> a 1471 forall a (b :: [Type]) . HList (a : b) -> a
1472testdata/Prelude.lc 132:10-132:23 1472testdata/Prelude.lc 132:10-132:23
1473 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (: a b) -> c 1473 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (a : b) -> c
1474testdata/Prelude.lc 132:10-132:25 1474testdata/Prelude.lc 132:10-132:25
1475 (_c -> HList _b -> _a) -> HList (: _c _b) -> _a 1475 (_c -> HList _b -> _a) -> HList (_c : _b) -> _a
1476testdata/Prelude.lc 132:10-132:37 1476testdata/Prelude.lc 132:10-132:37
1477 HList (: _b _a) -> _b 1477 HList (_b : _a) -> _b
1478testdata/Prelude.lc 132:35-132:36 1478testdata/Prelude.lc 132:35-132:36
1479 _e 1479 _e
1480testdata/Prelude.lc 133:1-133:7 1480testdata/Prelude.lc 133:1-133:7
1481 forall a (b :: [Type]) . HList (: a b) -> HList b 1481 forall a (b :: [Type]) . HList (a : b) -> HList b
1482testdata/Prelude.lc 133:10-133:23 1482testdata/Prelude.lc 133:10-133:23
1483 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (: a b) -> c 1483 forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (a : b) -> c
1484testdata/Prelude.lc 133:10-133:25 1484testdata/Prelude.lc 133:10-133:25
1485 (_c -> HList _b -> _a) -> HList (: _c _b) -> _a 1485 (_c -> HList _b -> _a) -> HList (_c : _b) -> _a
1486testdata/Prelude.lc 133:10-133:37 1486testdata/Prelude.lc 133:10-133:37
1487 HList (: _b _a) -> HList _a 1487 HList (_b : _a) -> HList _a
1488testdata/Prelude.lc 133:35-133:36 1488testdata/Prelude.lc 133:35-133:36
1489 HList _d 1489 HList _d
1490testdata/Prelude.lc 136:12-138:181 1490testdata/Prelude.lc 136:12-138:181
@@ -1542,7 +1542,7 @@ testdata/Prelude.lc 137:59-137:61
1542testdata/Prelude.lc 137:62-137:64 1542testdata/Prelude.lc 137:62-137:64
1543 String 1543 String
1544testdata/Prelude.lc 137:67-137:73 1544testdata/Prelude.lc 137:67-137:73
1545 forall a (b :: [Type]) . HList (: a b) -> a 1545 forall a (b :: [Type]) . HList (a : b) -> a
1546testdata/Prelude.lc 137:67-137:129 1546testdata/Prelude.lc 137:67-137:129
1547 _n 1547 _n
1548testdata/Prelude.lc 137:67-138:181 1548testdata/Prelude.lc 137:67-138:181
@@ -1552,9 +1552,9 @@ testdata/Prelude.lc 137:75-137:87
1552testdata/Prelude.lc 137:75-137:90 1552testdata/Prelude.lc 137:75-137:90
1553 forall a . _a -> a 1553 forall a . _a -> a
1554testdata/Prelude.lc 137:75-137:125 1554testdata/Prelude.lc 137:75-137:125
1555 _a -> HList (: _q (map RecItem Type recItemType _j)) 1555 _a -> HList (_q : map RecItem Type recItemType _j)
1556testdata/Prelude.lc 137:75-137:128 1556testdata/Prelude.lc 137:75-137:128
1557 HList (: _n (map RecItem Type recItemType _g)) 1557 HList (_n : map RecItem Type recItemType _g)
1558testdata/Prelude.lc 137:93-137:98 1558testdata/Prelude.lc 137:93-137:98
1559 [Type] -> Type 1559 [Type] -> Type
1560testdata/Prelude.lc 137:93-137:124 1560testdata/Prelude.lc 137:93-137:124
@@ -1622,7 +1622,7 @@ testdata/Prelude.lc 138:105-138:115
1622testdata/Prelude.lc 138:105-138:180 1622testdata/Prelude.lc 138:105-138:180
1623 RecordC _b 1623 RecordC _b
1624testdata/Prelude.lc 138:117-138:123 1624testdata/Prelude.lc 138:117-138:123
1625 forall a (b :: [Type]) . HList (: a b) -> HList b 1625 forall a (b :: [Type]) . HList (a : b) -> HList b
1626testdata/Prelude.lc 138:117-138:179 1626testdata/Prelude.lc 138:117-138:179
1627 HList (map RecItem Type recItemType _h) 1627 HList (map RecItem Type recItemType _h)
1628testdata/Prelude.lc 138:125-138:137 1628testdata/Prelude.lc 138:125-138:137
@@ -1630,9 +1630,9 @@ testdata/Prelude.lc 138:125-138:137
1630testdata/Prelude.lc 138:125-138:140 1630testdata/Prelude.lc 138:125-138:140
1631 forall a . _a -> a 1631 forall a . _a -> a
1632testdata/Prelude.lc 138:125-138:175 1632testdata/Prelude.lc 138:125-138:175
1633 _a -> HList (: _r (map RecItem Type recItemType _k)) 1633 _a -> HList (_r : map RecItem Type recItemType _k)
1634testdata/Prelude.lc 138:125-138:178 1634testdata/Prelude.lc 138:125-138:178
1635 HList (: _o (map RecItem Type recItemType _h)) 1635 HList (_o : map RecItem Type recItemType _h)
1636testdata/Prelude.lc 138:143-138:148 1636testdata/Prelude.lc 138:143-138:148
1637 [Type] -> Type 1637 [Type] -> Type
1638testdata/Prelude.lc 138:143-138:174 1638testdata/Prelude.lc 138:143-138:174
diff --git a/testdata/framebuffer02.reject.out b/testdata/framebuffer02.reject.out
index 1899ff29..3280dc3c 100644
--- a/testdata/framebuffer02.reject.out
+++ b/testdata/framebuffer02.reject.out
@@ -32,11 +32,9 @@ testdata/framebuffer02.reject.lc 2:17-5:30
32 Type 32 Type
33 ImageKind 33 ImageKind
34 GetImageKind 34 GetImageKind
35 (: 35 (Image 1 ('Color (VecScalar 4 Float))
36 (Image 1 ('Color (VecScalar 4 Float))) 36 : Image 2 ('Color (VecScalar 4 Float))
37 (: 37 : Image 1 ('Color (VecScalar 1 Float)) : []))
38 (Image 2 ('Color (VecScalar 4 Float)))
39 (: (Image 1 ('Color (VecScalar 1 Float))) '[]))))
40testdata/framebuffer02.reject.lc 2:29-5:30 38testdata/framebuffer02.reject.lc 2:29-5:30
41 (Image 1 ('Color (VecScalar 4 Float)), Image 39 (Image 1 ('Color (VecScalar 4 Float)), Image
42 2 40 2
diff --git a/testdata/language-features/adt/adt05.out b/testdata/language-features/adt/adt05.out
index 88d050b1..2f1af5ee 100644
--- a/testdata/language-features/adt/adt05.out
+++ b/testdata/language-features/adt/adt05.out
@@ -1 +1,3 @@
1main \ No newline at end of file 1testdata/language-features/adt/adt05.lc:14:1:
2main = isEmpty value1 && isCons value2
3^^^^ \ No newline at end of file
diff --git a/testdata/language-features/as-pattern/as-pattern01.out b/testdata/language-features/as-pattern/as-pattern01.out
index 88d050b1..da679416 100644
--- a/testdata/language-features/as-pattern/as-pattern01.out
+++ b/testdata/language-features/as-pattern/as-pattern01.out
@@ -1 +1,3 @@
1main \ No newline at end of file 1testdata/language-features/as-pattern/as-pattern01.lc:8:1:
2main = g 3 1 == 5
3^^^^ \ No newline at end of file
diff --git a/testdata/language-features/as-pattern/as-pattern02.out b/testdata/language-features/as-pattern/as-pattern02.out
index 88d050b1..cb9cee50 100644
--- a/testdata/language-features/as-pattern/as-pattern02.out
+++ b/testdata/language-features/as-pattern/as-pattern02.out
@@ -1 +1,3 @@
1main \ No newline at end of file 1testdata/language-features/as-pattern/as-pattern02.lc:7:1:
2main = f [0,1] == [1] && f [1] == [1]
3^^^^ \ No newline at end of file
diff --git a/testdata/language-features/basic-list/dotdot01.out b/testdata/language-features/basic-list/dotdot01.out
index 36d7c623..4fb37291 100644
--- a/testdata/language-features/basic-list/dotdot01.out
+++ b/testdata/language-features/basic-list/dotdot01.out
@@ -1,3 +1 @@
1: 1.0 : 2.0 : 3.0 : 4.0 : 5.0 : 6.0 : 7.0 : 8.0 : 9.0 : 10.0 : [] \ No newline at end of file
2 1.0
3 (: 2.0 (: 3.0 (: 4.0 (: 5.0 (: 6.0 (: 7.0 (: 8.0 (: 9.0 (: 10.0 []))))))))) \ No newline at end of file
diff --git a/testdata/record01.reject.out b/testdata/record01.reject.out
index 881ed1b1..39ad1ab3 100644
--- a/testdata/record01.reject.out
+++ b/testdata/record01.reject.out
@@ -170,7 +170,7 @@ testdata/record01.reject.lc 8:23-8:75
170 Type 170 Type
171 ImageKind 171 ImageKind
172 GetImageKind 172 GetImageKind
173 (: (Image 1 'Depth) (: (Image 1 ('Color (VecScalar 4 Float))) '[]))) 173 (Image 1 'Depth : Image 1 ('Color (VecScalar 4 Float)) : []))
174testdata/record01.reject.lc 8:35-8:75 174testdata/record01.reject.lc 8:35-8:75
175 (Image 1 'Depth, Image 1 ('Color (VecScalar 4 Float))) 175 (Image 1 'Depth, Image 1 ('Color (VecScalar 4 Float)))
176testdata/record01.reject.lc 8:36-8:47 176testdata/record01.reject.lc 8:36-8:47
@@ -348,16 +348,16 @@ testdata/record01.reject.lc 19:50-19:62
348 forall (a :: PrimitiveType) . PrimitiveStream a ((Vec 4 Float)) 348 forall (a :: PrimitiveType) . PrimitiveStream a ((Vec 4 Float))
349testdata/record01.reject.lc 20:23-20:42 349testdata/record01.reject.lc 20:23-20:42
350 forall (a :: [Type]) (b :: PrimitiveType) 350 forall (a :: [Type]) (b :: PrimitiveType)
351 . RasterContext (HList (: (Vec 4 Float) a)) b 351 . RasterContext (HList (Vec 4 Float : a)) b
352 -> HList (map Type Type Interpolated a) 352 -> HList (map Type Type Interpolated a)
353 -> [Primitive (HList (: (Vec 4 Float) a)) b] 353 -> [Primitive (HList (Vec 4 Float : a)) b]
354 -> [Vector 1 (Maybe (SimpleFragment (HList a)))] 354 -> [Vector 1 (Maybe (SimpleFragment (HList a)))]
355testdata/record01.reject.lc 20:23-20:52 355testdata/record01.reject.lc 20:23-20:52
356 HList (map Type Type Interpolated _a) 356 HList (map Type Type Interpolated _a)
357 -> [Primitive (HList (: (Vec 4 Float) _a)) 'Triangle] 357 -> [Primitive (HList (Vec 4 Float : _a)) 'Triangle]
358 -> [Vector 1 (Maybe (SimpleFragment (HList _a)))] 358 -> [Vector 1 (Maybe (SimpleFragment (HList _a)))]
359testdata/record01.reject.lc 20:23-20:63 359testdata/record01.reject.lc 20:23-20:63
360 [Primitive (HList (: (Vec 4 Float) _d)) 'Triangle] 360 [Primitive (HList (Vec 4 Float : _d)) 'Triangle]
361 -> [Vector 1 (Maybe (SimpleFragment (HList _d)))] 361 -> [Vector 1 (Maybe (SimpleFragment (HList _d)))]
362testdata/record01.reject.lc 20:23-20:79 362testdata/record01.reject.lc 20:23-20:79
363 [Vector 1 (Maybe (SimpleFragment ((VecS Float 4))))] 363 [Vector 1 (Maybe (SimpleFragment ((VecS Float 4))))]
@@ -435,18 +435,16 @@ testdata/record01.reject.lc 23:23-23:45
435 Type 435 Type
436 ImageKind 436 ImageKind
437 FragmentOperationKind 437 FragmentOperationKind
438 (: 438 (FragmentOperation 'Depth
439 (FragmentOperation 'Depth) 439 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
440 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
441 -> FrameBuffer 440 -> FrameBuffer
442 _b 441 _b
443 (map 442 (map
444 Type 443 Type
445 ImageKind 444 ImageKind
446 FragmentOperationKind 445 FragmentOperationKind
447 (: 446 (FragmentOperation 'Depth
448 (FragmentOperation 'Depth) 447 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
449 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
450testdata/record01.reject.lc 23:23-23:60 448testdata/record01.reject.lc 23:23-23:60
451 [Vector _a (Maybe (SimpleFragment ((VecS Float 4))))] 449 [Vector _a (Maybe (SimpleFragment ((VecS Float 4))))]
452 -> FrameBuffer 450 -> FrameBuffer
@@ -455,18 +453,16 @@ testdata/record01.reject.lc 23:23-23:60
455 Type 453 Type
456 ImageKind 454 ImageKind
457 FragmentOperationKind 455 FragmentOperationKind
458 (: 456 (FragmentOperation 'Depth
459 (FragmentOperation 'Depth) 457 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
460 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
461 -> FrameBuffer 458 -> FrameBuffer
462 _a 459 _a
463 (map 460 (map
464 Type 461 Type
465 ImageKind 462 ImageKind
466 FragmentOperationKind 463 FragmentOperationKind
467 (: 464 (FragmentOperation 'Depth
468 (FragmentOperation 'Depth) 465 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
469 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
470testdata/record01.reject.lc 23:23-23:75 466testdata/record01.reject.lc 23:23-23:75
471 FrameBuffer 467 FrameBuffer
472 1 468 1
@@ -474,18 +470,16 @@ testdata/record01.reject.lc 23:23-23:75
474 Type 470 Type
475 ImageKind 471 ImageKind
476 FragmentOperationKind 472 FragmentOperationKind
477 (: 473 (FragmentOperation 'Depth
478 (FragmentOperation 'Depth) 474 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
479 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
480 -> FrameBuffer 475 -> FrameBuffer
481 1 476 1
482 (map 477 (map
483 Type 478 Type
484 ImageKind 479 ImageKind
485 FragmentOperationKind 480 FragmentOperationKind
486 (: 481 (FragmentOperation 'Depth
487 (FragmentOperation 'Depth) 482 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
488 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
489testdata/record01.reject.lc 23:23-23:83 483testdata/record01.reject.lc 23:23-23:83
490 FrameBuffer 484 FrameBuffer
491 1 485 1
@@ -493,9 +487,8 @@ testdata/record01.reject.lc 23:23-23:83
493 Type 487 Type
494 ImageKind 488 ImageKind
495 FragmentOperationKind 489 FragmentOperationKind
496 (: 490 (FragmentOperation 'Depth
497 (FragmentOperation 'Depth) 491 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
498 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
499testdata/record01.reject.lc 23:34-23:45 492testdata/record01.reject.lc 23:34-23:45
500 (FragmentOperation 'Depth, FragmentOperation ('Color (VecScalar 4 Float))) 493 (FragmentOperation 'Depth, FragmentOperation ('Color (VecScalar 4 Float)))
501testdata/record01.reject.lc 23:46-23:60 494testdata/record01.reject.lc 23:46-23:60
@@ -509,13 +502,11 @@ testdata/record01.reject.lc 23:76-23:83
509 Type 502 Type
510 ImageKind 503 ImageKind
511 GetImageKind 504 GetImageKind
512 (: (Image 1 'Depth) (: (Image 1 ('Color (VecScalar 4 Float))) '[]))) 505 (Image 1 'Depth : Image 1 ('Color (VecScalar 4 Float)) : []))
513testdata/record01.reject.lc 24:12-24:58 506testdata/record01.reject.lc 24:12-24:58
514 RecordC 507 RecordC
515 (: 508 ('RecItem "fieldA" Float
516 ('RecItem "fieldA" Float) 509 : 'RecItem
517 (:
518 ('RecItem
519 "fieldB" 510 "fieldB"
520 (FrameBuffer 511 (FrameBuffer
521 1 512 1
@@ -523,10 +514,9 @@ testdata/record01.reject.lc 24:12-24:58
523 Type 514 Type
524 ImageKind 515 ImageKind
525 FragmentOperationKind 516 FragmentOperationKind
526 (: 517 (FragmentOperation 'Depth
527 (FragmentOperation 'Depth) 518 : FragmentOperation ('Color (VecScalar 4 Float)) : [])))
528 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[]))))) 519 : 'RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float) : [])
529 (: ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float)) '[])))
530testdata/record01.reject.lc 24:13-24:19 520testdata/record01.reject.lc 24:13-24:19
531 String | RecItem 521 String | RecItem
532testdata/record01.reject.lc 24:13-24:47 522testdata/record01.reject.lc 24:13-24:47
@@ -543,9 +533,8 @@ testdata/record01.reject.lc 24:21-24:57
543 Type 533 Type
544 ImageKind 534 ImageKind
545 FragmentOperationKind 535 FragmentOperationKind
546 (: 536 (FragmentOperation 'Depth
547 (FragmentOperation 'Depth) 537 : FragmentOperation ('Color (VecScalar 4 Float)) : [])))), recItemType
548 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[]))))), recItemType
549 ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float))) 538 ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float)))
550testdata/record01.reject.lc 24:26-24:32 539testdata/record01.reject.lc 24:26-24:32
551 String | RecItem 540 String | RecItem
@@ -558,9 +547,8 @@ testdata/record01.reject.lc 24:34-24:39
558 Type 547 Type
559 ImageKind 548 ImageKind
560 FragmentOperationKind 549 FragmentOperationKind
561 (: 550 (FragmentOperation 'Depth
562 (FragmentOperation 'Depth) 551 : FragmentOperation ('Color (VecScalar 4 Float)) : []))
563 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[])))
564testdata/record01.reject.lc 24:34-24:57 552testdata/record01.reject.lc 24:34-24:57
565 (FrameBuffer 553 (FrameBuffer
566 1 554 1
@@ -568,9 +556,8 @@ testdata/record01.reject.lc 24:34-24:57
568 Type 556 Type
569 ImageKind 557 ImageKind
570 FragmentOperationKind 558 FragmentOperationKind
571 (: 559 (FragmentOperation 'Depth
572 (FragmentOperation 'Depth) 560 : FragmentOperation ('Color (VecScalar 4 Float)) : [])), recItemType
573 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[]))), recItemType
574 ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float))) 561 ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float)))
575testdata/record01.reject.lc 24:41-24:47 562testdata/record01.reject.lc 24:41-24:47
576 String | RecItem | [RecItem] 563 String | RecItem | [RecItem]
@@ -579,10 +566,8 @@ testdata/record01.reject.lc 24:49-24:57
579 -> Blending Float | (((BlendEquation, BlendEquation) -> Blending Float)) 566 -> Blending Float | (((BlendEquation, BlendEquation) -> Blending Float))
580testdata/record01.reject.lc 25:11-25:17 567testdata/record01.reject.lc 25:11-25:17
581 RecordC 568 RecordC
582 (: 569 ('RecItem "fieldA" Float
583 ('RecItem "fieldA" Float) 570 : 'RecItem
584 (:
585 ('RecItem
586 "fieldB" 571 "fieldB"
587 (FrameBuffer 572 (FrameBuffer
588 1 573 1
@@ -590,10 +575,9 @@ testdata/record01.reject.lc 25:11-25:17
590 Type 575 Type
591 ImageKind 576 ImageKind
592 FragmentOperationKind 577 FragmentOperationKind
593 (: 578 (FragmentOperation 'Depth
594 (FragmentOperation 'Depth) 579 : FragmentOperation ('Color (VecScalar 4 Float)) : [])))
595 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[]))))) 580 : 'RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float) : [])
596 (: ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float)) '[])))
597testdata/record01.reject.lc 25:11-25:24 581testdata/record01.reject.lc 25:11-25:24
598 _b 582 _b
599testdata/record01.reject.lc 25:18-25:24 583testdata/record01.reject.lc 25:18-25:24
@@ -602,10 +586,8 @@ testdata/record01.reject.lc 26:5-26:14
602 forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output 586 forall (a :: Nat) (b :: [ImageKind]) . FrameBuffer a b -> Output
603testdata/record01.reject.lc 26:15-26:21 587testdata/record01.reject.lc 26:15-26:21
604 RecordC 588 RecordC
605 (: 589 ('RecItem "fieldA" Float
606 ('RecItem "fieldA" Float) 590 : 'RecItem
607 (:
608 ('RecItem
609 "fieldB" 591 "fieldB"
610 (FrameBuffer 592 (FrameBuffer
611 1 593 1
@@ -613,10 +595,9 @@ testdata/record01.reject.lc 26:15-26:21
613 Type 595 Type
614 ImageKind 596 ImageKind
615 FragmentOperationKind 597 FragmentOperationKind
616 (: 598 (FragmentOperation 'Depth
617 (FragmentOperation 'Depth) 599 : FragmentOperation ('Color (VecScalar 4 Float)) : [])))
618 (: (FragmentOperation ('Color (VecScalar 4 Float))) '[]))))) 600 : 'RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float) : [])
619 (: ('RecItem "fieldC" ((BlendEquation, BlendEquation) -> Blending Float)) '[])))
620testdata/record01.reject.lc 26:15-26:28 601testdata/record01.reject.lc 26:15-26:28
621 _b 602 _b
622testdata/record01.reject.lc 26:22-26:28 603testdata/record01.reject.lc 26:22-26:28
diff --git a/testdata/traceTest.out b/testdata/traceTest.out
index 75428209..41e16221 100644
--- a/testdata/traceTest.out
+++ b/testdata/traceTest.out
@@ -14,7 +14,7 @@ case'X :: forall a (b :: a) . forall (c :: X a b -> Type) (d :: X a b) -> c d
14match'X 14match'X
15 :: forall (a :: Type -> Type) 15 :: forall (a :: Type -> Type)
16 -> (forall b . forall (c :: b) -> a (X b c)) -> forall d -> a d -> a d 16 -> (forall b . forall (c :: b) -> a (X b c)) -> forall d -> a d -> a d
17x :: X (Type -> Type -> Type) \(a :: Type) (b :: Type) -> (a, b) 17x :: X (Type -> Type -> Type) \a b -> (a, b)
18------------ tooltips 18------------ tooltips
19testdata/traceTest.lc 6:1-6:3 19testdata/traceTest.lc 6:1-6:3
20 forall a . a -> a 20 forall a . a -> a
@@ -39,6 +39,6 @@ testdata/traceTest.lc 10:19-10:23
39testdata/traceTest.lc 10:22-10:23 39testdata/traceTest.lc 10:22-10:23
40 _c | [Type] 40 _c | [Type]
41testdata/traceTest.lc 11:1-11:2 41testdata/traceTest.lc 11:1-11:2
42 X (Type -> Type -> Type) \(a :: Type) (b :: Type) -> (a, b) 42 X (Type -> Type -> Type) \a b -> (a, b)
43testdata/traceTest.lc 11:5-11:14 43testdata/traceTest.lc 11:5-11:14
44 forall a . a \ No newline at end of file 44 forall a . a \ No newline at end of file
diff --git a/testdata/typesig.reject.out b/testdata/typesig.reject.out
index 0561886c..27b06da5 100644
--- a/testdata/typesig.reject.out
+++ b/testdata/typesig.reject.out
@@ -1,4 +1,4 @@
1focus checkMetas: \(a :: Type) -> (\(b :: Type) -> primFix a b) 1focus checkMetas: \(a :: Type) -> (\b -> primFix a b)
2 let a = Type in \(c :: Type) -> <<HERE>> 2 let a = Type in \(c :: Type) -> <<HERE>>
3\(a :: Type ~ _a) (b :: _a ~ X) -> typeAnn _a (_rhs X) 3\(a :: Type ~ _a) (b :: _a ~ X) -> typeAnn _a (_rhs X)
4------------ trace 4------------ trace
@@ -6,7 +6,7 @@ focus checkMetas: \(a :: Type) -> (\(b :: Type) -> primFix a b)
6X :: X 6X :: X
7case'X :: forall (a :: X -> Type) -> a 'X -> forall (b :: X) -> a b 7case'X :: forall (a :: X -> Type) -> a 'X -> forall (b :: X) -> a b
8match'X :: forall (a :: Type -> Type) -> a X -> forall b -> a b -> a b 8match'X :: forall (a :: Type -> Type) -> a X -> forall b -> a b -> a b
9!focus checkMetas: \(a :: Type) -> (\(b :: Type) -> primFix a b) 9!focus checkMetas: \(a :: Type) -> (\b -> primFix a b)
10 let a = Type in \(c :: Type) -> <<HERE>> 10 let a = Type in \(c :: Type) -> <<HERE>>
11\(a :: Type ~ _a) (b :: _a ~ X) -> typeAnn _a (_rhs X) 11\(a :: Type ~ _a) (b :: _a ~ X) -> typeAnn _a (_rhs X)
12------------ tooltips 12------------ tooltips