Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump for lean4#3159 #7

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Alloy/Util/Command.lean
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ open Lean Elab Command
.node (.ofCommandInfo { elaborator, stx }) trees

/-- Create context info for the info tree from the current state of command elaboration. -/
def mkCommandElabContextInfo : CommandElabM ContextInfo := do
def mkCommandElabContextInfo : CommandElabM CommandContextInfo := do
let ctx ← read; let s ← get; let scope := s.scopes.head!
return {
env := s.env, fileMap := ctx.fileMap, mctx := {}, currNamespace := scope.currNamespace,
Expand All @@ -22,7 +22,7 @@ def mkCommandElabContextInfo : CommandElabM ContextInfo := do

/-- Create an info tree for an elaborator with the current command elaboration context. -/
@[inline] def mkCommandElabInfoTree (elaborator : Name) (stx : Syntax) (trees : PersistentArray InfoTree) : CommandElabM InfoTree := do
return .context (← mkCommandElabContextInfo) (mkElabInfoTree elaborator stx trees)
return .context (.commandCtx (← mkCommandElabContextInfo)) (mkElabInfoTree elaborator stx trees)

/-- Adapted from the private `elabCommandUsing` definition in `Lean.Elab.Command`. -/
def elabCommandUsing (stx : Syntax) : List (KeyedDeclsAttribute.AttributeEntry CommandElab) → CommandElabM Bool
Expand Down
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:4.3.0
leanprover/lean4-pr-releases:pr-release-3159
Loading