lean4-htt/tests/lean/331.lean
2022-09-13 03:11:04 -07:00

7 lines
171 B
Text

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