chore: update stage0
This commit is contained in:
parent
9017ddf1f1
commit
0c181fb71b
8 changed files with 4472 additions and 38738 deletions
|
|
@ -785,7 +785,7 @@ finally x (modify $ fun s => { mctx := savedMCtx, .. s })
|
|||
Execute `x` using the given metavariable `LocalContext` and `LocalInstances`.
|
||||
The type class resolution cache is flushed when executing `x` if its `LocalInstances` are
|
||||
different from the current ones. -/
|
||||
@[inline] def withMVarContext {α} (mvarId : MVarId) (x : MetaM α) : MetaM α := do
|
||||
def withMVarContext {α} (mvarId : MVarId) (x : MetaM α) : MetaM α := do
|
||||
mvarDecl ← getMVarDecl mvarId;
|
||||
localInsts ← getLocalInstances;
|
||||
adaptReader (fun (ctx : Context) => { lctx := mvarDecl.lctx, localInstances := mvarDecl.localInstances, .. ctx }) $
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ lean_object* l_Lean_Elab_ElabFnTable_insert___rarg(lean_object*, lean_object*, l
|
|||
lean_object* l___private_Init_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___at_Lean_Elab_Tactic_evalTactic___main___spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_bind___at_Lean_Meta_isClassExpensive___main___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_List_append___rarg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_clear___lambda__1___closed__6;
|
||||
lean_object* lean_io_ref_get(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_goalsToMessageData___closed__1;
|
||||
|
|
@ -213,7 +214,6 @@ lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__1;
|
|||
extern lean_object* l_Lean_Elab_Term_State_inhabited___closed__2;
|
||||
extern lean_object* l_Char_HasRepr___closed__1;
|
||||
lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Tactic_evalTraceState___spec__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Meta_clear___closed__8;
|
||||
lean_object* l___regBuiltinTactic_Lean_Elab_Tactic_evalAssumption___closed__1;
|
||||
lean_object* l_Lean_Elab_Tactic_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Tactic_resetSynthInstanceCache(lean_object*, lean_object*);
|
||||
|
|
@ -15126,7 +15126,7 @@ x_23 = lean_alloc_ctor(2, 1, 0);
|
|||
lean_ctor_set(x_23, 0, x_22);
|
||||
x_24 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_24, 0, x_23);
|
||||
x_25 = l_Lean_Meta_clear___closed__8;
|
||||
x_25 = l_Lean_Meta_clear___lambda__1___closed__6;
|
||||
x_26 = lean_alloc_ctor(9, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_25);
|
||||
lean_ctor_set(x_26, 1, x_24);
|
||||
|
|
@ -15450,7 +15450,7 @@ x_12 = lean_alloc_ctor(2, 1, 0);
|
|||
lean_ctor_set(x_12, 0, x_11);
|
||||
x_13 = lean_alloc_ctor(0, 1, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
x_14 = l_Lean_Meta_clear___closed__8;
|
||||
x_14 = l_Lean_Meta_clear___lambda__1___closed__6;
|
||||
x_15 = lean_alloc_ctor(9, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
lean_ctor_set(x_15, 1, x_13);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue