chore: fix tests
This commit is contained in:
parent
bfc1a16c02
commit
6e3792e995
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ class HasCoerce (a b : Type) :=
|
|||
def coerce {a b : Type} [HasCoerce a b] : a → b :=
|
||||
@HasCoerce.coerce a b _
|
||||
|
||||
instance coerceTrans {a b c : Type} [HasCoerce b c] [HasCoerce a b] : HasCoerce a c :=
|
||||
instance coerceTrans {a b c : Type} [HasCoerce a b] [HasCoerce b c] : HasCoerce a c :=
|
||||
⟨fun x => coerce (coerce x : b)⟩
|
||||
|
||||
instance coerceBoolToProp : HasCoerce Bool Prop :=
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
sanitychecks.lean:1:0: error: fail to show termination for
|
||||
sanitychecks.lean:1:8: error: fail to show termination for
|
||||
unsound
|
||||
with errors
|
||||
structural recursion cannot be used
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue