Refactors the `structure` command to support recursive structures. These are disabled for now, pending additional elaborator support in #5822. This refactor is also a step toward `structure` appearing in `mutual` blocks. Error reporting is now more precise, and this fixes an issue where general errors could appear on the last field. Adds "don't know how to synthesize placeholder" errors for default values. Closes #2512
8 lines
148 B
Text
8 lines
148 B
Text
/-!
|
|
# Tests for recursive structures
|
|
-/
|
|
|
|
/-- error: Recursive structures are not yet supported. -/
|
|
#guard_msgs in
|
|
structure A1 where
|
|
xs : List A1
|