Skip to content

Commit

Permalink
actually do async transitions asynchronously (not just async functions)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebenfield committed Dec 16, 2024
1 parent 78545e1 commit d31569b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/src/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ impl<'a> Cursor<'a> {
} else {
self.signer
};
if self.really_async && function.variant == Variant::AsyncFunction {
if self.really_async && matches!(function.variant, Variant::AsyncFunction | Variant::AsyncTransition) {
// Don't actually run the call now.
let async_ex = AsyncExecution {
function: GlobalId { name: function_name, program: function_program },
Expand Down

0 comments on commit d31569b

Please sign in to comment.