Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed May 17, 2024
1 parent 495ca3c commit fba6497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/units/evaluation-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,8 @@ Rebol [
]
--test-- "catch/with function!"
;@@ https://github.com/Oldes/Rebol-issues/issues/1521
on-catch: func[value name][
;; using `any-type!` as `value` may be `unset!`
on-catch: func[value [any-type!] name][
if :name = 'foo [return join "b" :value]
if unset? :value [return true]
if integer? :value [return value * 10]
Expand Down

0 comments on commit fba6497

Please sign in to comment.