Skip to content

Commit

Permalink
WIP: replyDeadline is still 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif committed Dec 6, 2024
1 parent c9bd84f commit 3bed728
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/run-drun/ok/par.tc.ok
Original file line number Diff line number Diff line change
@@ -1 +1 @@
par.mo:53.9-53.67: warning [M0204], unrecognised attribute yeah in parenthetical note
par.mo:54.9-54.67: warning [M0204], unrecognised attribute yeah in parenthetical note
3 changes: 2 additions & 1 deletion test/run-drun/par.mo
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { call_raw; debugPrint; principalOfActor } = "mo:⛔";
import { call_raw; debugPrint; principalOfActor; replyDeadline } = "mo:⛔";
import Cycles = "cycles/cycles";

actor A {

func foo(next : () -> async ()) : async () {
assert 0 : Nat64 == replyDeadline();
await (with cycles = 3000) next()
};

Expand Down

0 comments on commit 3bed728

Please sign in to comment.