Skip to content

Commit

Permalink
deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em committed Nov 4, 2024
1 parent 3ab759d commit 91b2138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/examples/SubVerso/Examples.lean
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ elab_rules : command
let freshMsgs ← allNewMessages.toList.mapM fun m => do pure (m.severity, ← contents m)
let .original leading startPos _ _ := allCommands[0]!.getHeadInfo
| throwErrorAt allCommands[0]! "Failed to get source position"
let .original _ _ trailing stopPos := allCommands.back.getTailInfo
| throwErrorAt allCommands.back "Failed to get source position"
let .original _ _ trailing stopPos := allCommands.back!.getTailInfo
| throwErrorAt allCommands.back! "Failed to get source position"
let text ← getFileMap
let str := text.source.extract leading.startPos trailing.stopPos
let mod ← getMainModule
Expand Down

0 comments on commit 91b2138

Please sign in to comment.