Skip to content

Commit 7681e6e

Browse files
chore: bump to v4.28.0-rc1 (#718)
1 parent 733e479 commit 7681e6e

File tree

5 files changed

+8
-185
lines changed

5 files changed

+8
-185
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ profile.json.gz
1717
/src/tests/integration/**/*.out
1818
/src/tests/integration/**/*.pdf
1919
/src/tests/integration/**/*.toc
20-
20+
multi.json
21+
single.json
22+
*.html

index.html

Lines changed: 0 additions & 179 deletions
This file was deleted.

lake-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "b3dd6c3ebc0a71685e86bea9223be39ea4c299fb",
8+
"rev": "009dc1e6f2feb2c96c081537d80a0905b2c6498f",
99
"name": "plausible",
1010
"manifestFile": "lake-manifest.json",
1111
"inputRev": "main",

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

src/verso-manual/VersoManual/Docstring.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def DeclType.ofName (c : Name)
209209
parentProjFns.mapIdxM fun i parentProj => do
210210
let proj := mkApp (mkAppN (.const parentProj us) params) s
211211
let type ← inferType proj >>= instantiateMVars
212-
let projType ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| Widget.ppExprTagged type
212+
let projType ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| Widget.ppExprTagged type
213213
if let .const parentName _ := type.getAppFn then
214214
pure ⟨parentProj, parentName, ← renderTagged none projType hlCtx, i⟩
215215
else
@@ -222,8 +222,8 @@ def DeclType.ofName (c : Name)
222222
allFields.filterMapM fun fieldName => do
223223
let proj ← mkProjection s fieldName
224224
let type ← inferType proj >>= instantiateMVars
225-
let type' ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| (Widget.ppExprTagged type)
226-
let projType ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| ppExpr type
225+
let type' ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| (Widget.ppExprTagged type)
226+
let projType ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| ppExpr type
227227
let fieldFrom? := findField? env c fieldName
228228
let fieldPath? := fieldFrom? >>= (getStructurePathToBaseStructure? env · c)
229229
let fieldFrom ← fieldPath?.getD [] |>.mapM (DocName.ofName (showUniverses := false))

0 commit comments

Comments
 (0)