summaryrefslogtreecommitdiff
path: root/tests_buffer
diff options
context:
space:
mode:
authorNadrieril2020-02-02 15:02:23 +0000
committerNadrieril2020-02-02 15:06:39 +0000
commit92bbea48f9a0380a614f2687c73d55a67ff9294e (patch)
tree03dff980cafa1103d03ca6ad27ad729eda5901ec /tests_buffer
parent70eede4fd012f49dfab0e2e27fb3a4e4bbff6325 (diff)
More nice errors plus some refactor
Diffstat (limited to '')
-rw-r--r--tests_buffer2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests_buffer b/tests_buffer
index 34210a9..87d73ef 100644
--- a/tests_buffer
+++ b/tests_buffer
@@ -51,6 +51,8 @@ success/
let X = 0 in λ(T : Type) → λ(x : T) → 1
(λ(T : Type) → let foo = 0 in λ(x : T) → x) : ∀(T : Type) → ∀(x : T) → T
failure/
+ \(_: Bool) -> assert : (\(_: Bool) -> _) === (\(x: Bool) -> _)
+ \(x: let x = 1 in Sort) -> 0
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