recognise nats other than 0 in eq checker
This commit is contained in:
parent
0fdd4741be
commit
7afcbfe258
1 changed files with 4 additions and 4 deletions
|
@ -305,7 +305,7 @@ namespace Term
|
||||||
(E _, Nat 0 {}) => clashT s.loc ctx nat s t
|
(E _, Nat 0 {}) => clashT s.loc ctx nat s t
|
||||||
(E _, Succ {}) => clashT s.loc ctx nat s t
|
(E _, Succ {}) => clashT s.loc ctx nat s t
|
||||||
|
|
||||||
(Nat 0 {}, t) => wrongType t.loc ctx nat t
|
(Nat {}, t) => wrongType t.loc ctx nat t
|
||||||
(Succ {}, t) => wrongType t.loc ctx nat t
|
(Succ {}, t) => wrongType t.loc ctx nat t
|
||||||
(E _, t) => wrongType t.loc ctx nat t
|
(E _, t) => wrongType t.loc ctx nat t
|
||||||
(s, _) => wrongType s.loc ctx nat s
|
(s, _) => wrongType s.loc ctx nat s
|
||||||
|
|
Loading…
Reference in a new issue