lean4-htt/src/Lean/PrettyPrinter
Kyle Miller 7cd406f335
fix: check is valid structure projection when pretty printing (#4982)
For structure projections, the pretty printer assumed that the
expression was type correct. Now it checks that the object being
projected is of the correct type. Such terms appear in type mismatch
errors.

Also, fixes and improves `#print` for structures. The types of
projections now use MessageData (so are now hoverable), and the type of
`self` is now the correct type.

Closes #4670
2024-08-12 15:52:17 +00:00
..
Delaborator fix: check is valid structure projection when pretty printing (#4982) 2024-08-12 15:52:17 +00:00
Basic.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Delaborator.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Formatter.lean fix: make sure syntax nodes always run their formatters (#4631) 2024-07-03 07:45:34 +00:00
Parenthesizer.lean fix: filter duplicate subexpressions (#4786) 2024-07-25 08:58:49 +00:00