renamed return-from-home to revert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
treated return and revert as keywords
This commit is contained in:
@ -8,7 +8,7 @@ defun repeat(n f) {
|
||||
defun test-non-local-ret-1(k) {
|
||||
repeat 10 (fun() {
|
||||
set k (+ k 2);
|
||||
if (= k 28) { return-from-home k };
|
||||
if (= k 28) { revert k };
|
||||
});
|
||||
|
||||
return k;
|
||||
|
Reference in New Issue
Block a user