lean4-htt/tests/elabissues/structure_same_names2.lean
2020-02-18 10:52:44 -08:00

2 lines
154 B
Text

-- Bad error message when same name is used as parameter and field
structure Foo (n : Nat) : Type := (n : Nat) -- error: invalid return type for 'Foo.mk'