chore: Update compiler and fix minor breaking change
parent
e9a9e17439
commit
c2da7afd76
|
@ -96,7 +96,7 @@ def prettyPrintTerm (expr : Expr) : MetaM Syntax := do
|
||||||
def Info.ofConstantVal (v : ConstantVal) : MetaM Info := do
|
def Info.ofConstantVal (v : ConstantVal) : MetaM Info := do
|
||||||
let env ← getEnv
|
let env ← getEnv
|
||||||
let type ← prettyPrintTerm v.type
|
let type ← prettyPrintTerm v.type
|
||||||
let doc := findDocString? env v.name
|
let doc ← findDocString? env v.name
|
||||||
match ←findDeclarationRanges? v.name with
|
match ←findDeclarationRanges? v.name with
|
||||||
-- TODO: Maybe selection range is more relevant? Figure this out in the future
|
-- TODO: Maybe selection range is more relevant? Figure this out in the future
|
||||||
| some range => return Info.mk ⟨v.name, type⟩ doc range.range
|
| some range => return Info.mk ⟨v.name, type⟩ doc range.range
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
leanprover/lean4:nightly-2021-11-26
|
leanprover/lean4:nightly-2021-12-10
|
||||||
|
|
Loading…
Reference in New Issue