summaryrefslogtreecommitdiff
path: root/tests_buffer
diff options
context:
space:
mode:
authorNadrieril Feneanar2020-02-19 17:25:57 +0000
committerGitHub2020-02-19 17:25:57 +0000
commitffbde252a850c7d96e1000e1be52792c41733a28 (patch)
treee668b7f764fb4981a802bc619e0b2ff62fa9ce16 /tests_buffer
parente4b3a879907b6dcc75d25847ae21a23d0201aae1 (diff)
parent7cbfc1a0d32766a383d1f48902502adaa2234d2f (diff)
Merge pull request #131 from Nadrieril/hir
Decouple main expression types
Diffstat (limited to 'tests_buffer')
-rw-r--r--tests_buffer3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests_buffer b/tests_buffer
index e8eb3d7..db63cde 100644
--- a/tests_buffer
+++ b/tests_buffer
@@ -52,6 +52,9 @@ success/
(λ(T : Type) → let x = 0 in λ(x : T) → x) : ∀(T : Type) → ∀(x : T) → T
failure/
\(_: Bool) -> assert : (\(_: Bool) -> _) === (\(x: Bool) -> _)
+ unit/FunctionTypeOutputTypeNotAType Bool -> 1
+ unit/NestedAnnotInnerWrong (0 : Bool) : Natural
+ unit/NestedAnnotOuterWrong (0 : Natural) : Bool
merge { x = λ(x : Bool) → x } (< x: Bool | y: Natural >.x True)
merge { x = λ(_ : Bool) → _, y = 1 } < x = True | y >
merge { x = True, y = 1 } < x | y >.x