lean4-htt/tests/lean/mvarAtDefaultValue.lean.expected.out
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

14 lines
466 B
Text

mvarAtDefaultValue.lean:5:7-5:8: error: don't know how to synthesize placeholder
context:
toA : A
x : Nat := toA.x
⊢ Nat
mvarAtDefaultValue.lean:5:2-5:3: error: invalid default value for field 'x', it contains metavariables
?m
mvarAtDefaultValue.lean:8:7-8:8: error: don't know how to synthesize placeholder
context:
toA : A
x : Nat := toA.x
⊢ Nat
mvarAtDefaultValue.lean:8:2-8:3: error: invalid default value for field 'x', it contains metavariables
?m + 1