doc: elabissue for structure same-name error msg
This commit is contained in:
parent
7d7cd1a7c9
commit
13721cdfe9
1 changed files with 2 additions and 0 deletions
2
tests/elabissues/structure_same_names2.lean
Normal file
2
tests/elabissues/structure_same_names2.lean
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- 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'
|
||||
Loading…
Add table
Reference in a new issue