Skip to content

Commit b9679d4

Browse files
committed
make a proto example work again.
1 parent 81cf4c7 commit b9679d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S06-routines.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ which would be some dispatcher macro such as:
206206

207207
my proto sub foo (|cap (@args)) {
208208
do-something-before(@args);
209-
my |retcap := MULTI-DISPATCH-CALLWITH(&?ROUTINE, cap);
209+
my \retcap = MULTI-DISPATCH-CALLWITH(&?ROUTINE, cap);
210210
do-something-after(@args);
211-
return |retcap;
211+
return retcap;
212212
}
213213

214214
which optimizes (we hope) to an inlined multidispatcher to locate all

0 commit comments

Comments
 (0)