lean4-htt/tests/lean/typeMismatch.lean
2022-07-12 18:39:30 -07:00

12 lines
186 B
Text

import Lean
-- Test type mismatch error messages for "liftable" methods
def test (x : Nat) : IO Nat :=
IO.println ""
open Lean
def test2 (x : Expr) : MetaM Unit :=
Meta.isDefEq x x