Skip to content

Commit 6d65c6e

Browse files
authored
chore: bump toolchain to v4.28.0-rc1 (#154)
1 parent c04225e commit 6d65c6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ProofWidgets/Demos/Graph/MVarGraph.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def mkLabel (e : MVarId)
6262
(fill := "var(--vscode-editor-background)") :
6363
MetaM (Nat × Nat × Html) := do
6464
let fmt := s!"?{← e.getName}"
65-
let fmtTp ← withOptions (·.setNat `pp.deepTerms.threshold 2)
65+
let fmtTp ← withOptions (·.set `pp.deepTerms.threshold (2 : Nat))
6666
(toString <$> ppExpr (← e.getType'))
6767
let len := fmt.length + fmtTp.length + 3
6868
let w := min (15 + len * 6) 100

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
leanprover/lean4:v4.27.0
1+
leanprover/lean4:v4.28.0-rc1

0 commit comments

Comments
 (0)