diff --git a/src/prelude/internals.mo b/src/prelude/internals.mo index b98be29c768..713b7544ddb 100644 --- a/src/prelude/internals.mo +++ b/src/prelude/internals.mo @@ -614,8 +614,8 @@ func @timer_helper() : async () { for (o in thunks.vals()) { switch o { - case (?thunk) { ignore thunk() }; - case _ { } + case (?thunk) ignore thunk(); + case _ return } } };