lean4-htt/tests/lean/331.lean
Leonardo de Moura be4cf605fd feat: improve error message
closes #331
2021-03-05 13:42:54 -08:00

6 lines
110 B
Text

structure Foo where
foo : Nat
def baz {x : _} := Foo.mk x -- works fine
def qux {x : _} : Foo := Foo.mk x