lean4-htt/src/Lean/Elab
Joachim Breitner 82401938cf
fix: hovers on binders with metavariables (#4192)
this fixes #4078. It is an alternative fix to the one in #4137,
suggested
by @kmill.

Incidentially, it makes the unused variable linter better. My theory is
that
if we don’t reset the info when backtracking, the binder shows up more
than
once in the info tree, and then it is considered “used”, although there
are
just multiple binders.
2024-05-21 10:34:58 +00:00
..
Deriving fix: make deriving handler for Repr be consistent about erasing types and proofs (#3944) 2024-05-07 23:55:52 +00:00
InfoTree feat: display diagnostic information at term and tactic set_option diagnostics true (#4048) 2024-05-01 22:47:57 +00:00
PreDefinition refactor: no need for simpMatchWF? (#4153) 2024-05-13 19:33:23 +00:00
Quotation feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
Tactic feat: improve grind preprocessor (#4221) 2024-05-20 04:29:49 +00:00
App.lean fix: semantic tokens performance (#3932) 2024-04-18 07:48:44 +00:00
Arg.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Attributes.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
AutoBound.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
AuxDef.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
BinderPredicates.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Binders.lean perf: use withSynthesize when elaborating let/have type (#4096) 2024-05-09 00:58:43 +00:00
BindersUtil.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
BuiltinCommand.lean feat: propagate maxHeartbeats to kernel (#4113) 2024-05-09 17:44:19 +00:00
BuiltinNotation.lean fix: auto/option params should not break sorry (#4132) 2024-05-11 02:10:40 +00:00
BuiltinTerm.lean feat: display diagnostic information at term and tactic set_option diagnostics true (#4048) 2024-05-01 22:47:57 +00:00
Calc.lean fix: move cdot and calc parsers to Lean namespace 2024-05-19 07:20:10 +02:00
CheckTactic.lean chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508) 2024-03-04 23:56:30 +00:00
Command.lean feat: collect kernel diagnostic information (#4082) 2024-05-06 21:53:16 +00:00
ComputedFields.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Config.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Declaration.lean feat: hover / go-to-def for attribute cmd (#3896) 2024-04-13 07:13:25 +00:00
DeclarationRange.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
DeclModifiers.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
DeclNameGen.lean feat: make anonymous instance names not include proofs (#3934) 2024-04-17 19:41:34 +00:00
DeclUtil.lean feat: shorten auto-generated instance names (#3089) 2024-04-13 18:08:50 +00:00
DefView.lean feat: shorten auto-generated instance names (#3089) 2024-04-13 18:08:50 +00:00
Deriving.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Do.lean fix: do not lift (<- ...) over pure if-then-else (#3820) 2024-04-01 21:33:59 +00:00
ElabRules.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Eval.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Exception.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Extra.lean fix: use maxType when building expression in expression tree elaborator (#4215) 2024-05-18 20:59:54 +00:00
Frontend.lean fix: mainModuleName should use srcSearchPath (#4066) 2024-05-08 12:34:27 +00:00
GenInjective.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
GuardMsgs.lean feat: show diffs when #guard_msgs fails (#3912) 2024-04-18 15:09:44 +00:00
Import.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Inductive.lean perf: use withSynthesize when elaborating let/have type (#4096) 2024-05-09 00:58:43 +00:00
InfoTree.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
InheritDoc.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
LetRec.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Level.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Macro.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
MacroArgUtil.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
MacroRules.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Match.lean fix: regression on match expressions with builtin literals (#3521) 2024-02-27 18:49:44 +00:00
MatchAltView.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
MatchExpr.lean perf: match_expr join points (#3580) 2024-03-03 18:15:49 +00:00
Mixfix.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
MutualDef.lean feat: reserved names (#3675) 2024-03-15 00:33:22 +00:00
Notation.lean feat: apply app unexpanders for all prefixes of an application (#3375) 2024-02-27 07:04:17 +00:00
Open.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
ParseImportsFast.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
PatternVar.lean fix: match pattern missing test 2024-02-21 05:14:26 -08:00
PreDefinition.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Print.lean feat: #print command shows structure fields (#3768) 2024-04-24 03:18:09 +00:00
Quotation.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
RecAppSyntax.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
SetOption.lean fix: don't use info nodes before cursor for completion (#3778) 2024-04-02 08:49:24 +00:00
StructInst.lean perf: use withSynthesize when elaborating let/have type (#4096) 2024-05-09 00:58:43 +00:00
Structure.lean fix: proposition fields must be theorems (#4006) 2024-04-28 01:59:47 +00:00
Syntax.lean fix: remove unused trace.Elab.syntax option (#3844) 2024-04-08 17:16:24 +00:00
SyntheticMVars.lean feat: recover from runtime errors in tactics (#4130) 2024-05-11 00:07:13 +00:00
Tactic.lean feat: upstream rw? tactic (#3719) 2024-03-23 05:01:35 +00:00
Term.lean fix: hovers on binders with metavariables (#4192) 2024-05-21 10:34:58 +00:00
Util.lean feat: @[builtin_doc] attribute (part 1) (#3953) 2024-04-19 12:21:10 +00:00