check for 0=1 in typechecker
This commit is contained in:
parent
195791e158
commit
858b5db530
5 changed files with 95 additions and 55 deletions
|
@ -384,7 +384,7 @@ tests = "equality & subtyping" :- [
|
|||
testEq "a‹𝟎› = a" $
|
||||
equalED 1 empty (DCloE (F "a") (K Zero ::: id)) (F "a"),
|
||||
testEq "(f [a])‹𝟎› = f‹𝟎› [a]‹𝟎›" $
|
||||
let th = (K Zero ::: id) in
|
||||
let th = K Zero ::: id in
|
||||
equalED 1 empty
|
||||
(DCloE (F "f" :@ FT "a") th)
|
||||
(DCloE (F "f") th :@ DCloT (FT "a") th)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue