lean4-htt/src/Lean
jrr6 34bd6e8bfd
feat: improve split error messages (#9424)
This PR improves the error messages produced by the `split` tactic,
including suggesting syntax fixes and related tactics with which it
might be confused.

Note that, to avoid clashing with the new error message styling
conventions used in these messages, this PR also updates the formatting
of the message produced by `throwTacticEx`.

Closes #6224
2025-07-18 22:36:10 +00:00
..
Compiler fix: make IRType.erased a tobject when boxing it (#9431) 2025-07-18 20:10:52 +00:00
Data refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
DocString perf: do not import non-meta IR 2025-06-27 08:13:31 -07:00
Elab feat: improve split error messages (#9424) 2025-07-18 22:36:10 +00:00
ErrorExplanations feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Language chore: allow use of the module system in all of core (#9078) 2025-06-29 13:49:27 +00:00
Linter feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Meta feat: improve split error messages (#9424) 2025-07-18 22:36:10 +00:00
Parser feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
ParserCompiler
PrettyPrinter refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
Server refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
Util fix: adjust unsafe trick for upcoming optimization (#9393) 2025-07-16 00:10:01 +00:00
Widget refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
AddDecl.lean fix: module system: remove WellFounded-specific hacks (#9143) 2025-07-02 11:58:50 +00:00
Attributes.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
AuxRecursor.lean refactor: remove binductionOn, use brecOn instead (#8820) 2025-06-17 07:07:24 +00:00
BuiltinDocAttr.lean chore: follow up on #8173 post-stage0 update (#8722) 2025-06-16 09:08:35 +00:00
Class.lean doc: add documentation for builtin attributes (#8173) 2025-06-11 09:04:37 +00:00
Compiler.lean chore: remove now-unused Lean.Compiler.AtMostOnce (#9278) 2025-07-09 14:31:15 +00:00
CoreM.lean refactor: Expose DeclNameGenerator idx (#9020) 2025-07-13 10:24:04 +00:00
Data.lean
Declaration.lean
DeclarationRange.lean refactor: environment extension state splitting (#8653) 2025-06-11 12:52:04 +00:00
DefEqAttrib.lean
DocString.lean
Elab.lean feat: add hints for missing structure instance fields (#9317) 2025-07-17 03:22:34 +00:00
EnvExtension.lean refactor: environment extension state splitting (#8653) 2025-06-11 12:52:04 +00:00
Environment.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
ErrorExplanation.lean feat: add elaborators, completions, and hovers for named errors (#8730) 2025-06-18 15:51:34 +00:00
ErrorExplanations.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Exception.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Expr.lean refactor: support for Nat in grind cutsat (#9340) 2025-07-13 23:40:03 +00:00
HeadIndex.lean
Hygiene.lean
ImportingFlag.lean
InternalExceptionId.lean
KeyedDeclsAttribute.lean
LabelAttribute.lean
Level.lean
Linter.lean feat: linter.unusedSimpArgs (#8901) 2025-06-22 09:10:21 +00:00
LoadDynlib.lean
LocalContext.lean feat: add usedLetOnly to LocalContext binder functions (#9131) 2025-07-01 18:41:49 +00:00
Log.lean fix: open error explanations in new window in web editor (#9421) 2025-07-17 23:20:35 +00:00
Message.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Meta.lean feat: add Meta.letToHave and the let_to_have tactic (#8954) 2025-06-24 01:33:53 +00:00
MetavarContext.lean refactor: migrate all usages of old slice notation (#9000) 2025-06-27 18:52:07 +00:00
Modifiers.lean fix: assorted module system fixes (#9406) 2025-07-16 13:31:08 +00:00
MonadEnv.lean feat: update and explain "unknown constant" and "failed to infer type" errors (#9423) 2025-07-18 19:20:31 +00:00
Namespace.lean
Parser.lean
ParserCompiler.lean refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
PremiseSelection.lean
PrettyPrinter.lean feat: prettier expected type mismatch error message (#9099) 2025-07-01 07:50:53 +00:00
PrivateName.lean
ProjFns.lean
ReducibilityAttrs.lean chore: use note and hint' for message addenda (#8980) 2025-06-27 15:16:01 +00:00
Replay.lean
ReservedNameAction.lean
ResolveName.lean feat: allow access to private names through import all (#8828) 2025-06-27 12:13:46 +00:00
Runtime.lean
ScopedEnvExtension.lean fix: do not export private instances (#9407) 2025-07-16 18:59:48 +00:00
Server.lean
Setup.lean perf: do not import non-meta IR 2025-06-27 08:13:31 -07:00
Shell.lean feat: ignore lean -R if module name is in setup (#8874) 2025-06-23 17:55:52 +00:00
Structure.lean refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
SubExpr.lean
Syntax.lean refactor: migrate to new ranges (#8841) 2025-07-07 12:41:53 +00:00
ToExpr.lean
ToLevel.lean
Util.lean feat: server support for new module setup (#8699) 2025-06-23 18:00:14 +00:00
Widget.lean