Skip to content

Commit 86d935e

Browse files
committed
chore: fix build
1 parent 09cbdd1 commit 86d935e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Elab/PreDefinition/TerminationHint.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def elabTerminationHints {m} [Monad m] [MonadError m] (stx : TSyntax ``suffix) :
155155
| `(terminationBy|termination_by $[structural%$s]? => $_body) =>
156156
throwErrorAt t "no extra parameters bounds, please omit the `=>`"
157157
| `(terminationBy|termination_by $[structural%$s]? $vars* => $body) =>
158-
pure (some {ref := t, structural := s.isSome, vars, body})
158+
pure (some {ref := t, structural := s.isSome, vars, body : TerminationBy})
159159
| `(terminationBy|termination_by $[structural%$s]? $body:term) =>
160160
pure (some {ref := t, structural := s.isSome, vars := #[], body})
161161
| `(terminationBy?|termination_by?) => pure none

0 commit comments

Comments
 (0)