Skip to content

Commit

Permalink
add comment about lowering continuation
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeng committed Aug 26, 2024
1 parent f46d76d commit 08f87e5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,8 @@ given Reducible[CTerm] with
(using signature: Signature)
(using TypingContext)
: CTerm =
// TODO[P0]: if the reduced term contains `Continuation`, then throw away the reduced term and
// simply return t as it is. This is needed because `Continuation` is too hard to be lowered.
StackMachine(mutable.ArrayBuffer()).run(t).withSourceInfo(t.sourceInfo)

object Reducible:
Expand Down

0 comments on commit 08f87e5

Please sign in to comment.