lean4-htt/tests/lean/setLit.lean.expected.out
jrr6 119854e248
feat: add hints for missing structure instance fields (#9317)
This PR adds to the "fields missing" error message for structure
instance notation a code-action hint that inserts all missing fields.
2025-07-17 03:22:34 +00:00

17 lines
575 B
Text

setLit.lean:22:19-22:21: error: overloaded, errors
failed to synthesize
EmptyCollection String
Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.
Fields missing: `data`
Hint: Add missing fields:
̲d̲a̲t̲a̲ ̲:̲=̲ ̲_̲ ̲
setLit.lean:24:31-24:38: error: overloaded, errors
failed to synthesize
Singleton Nat String
Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.
24:33 'val' is not a field of structure 'String'