lean4-htt/tests/lean/run/structure_recursive.lean
Kyle Miller a310488b7f
chore: refactor structure command, fixes (#5842)
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
2024-10-25 19:46:17 +00:00

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