Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Apr 1, 2020
1 parent ae1328d commit abe3727
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/tests/units/func-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Rebol [
===start-group=== "Other issues"

--test-- "issue-2025"
;@@ https://github.com/Oldes/Rebol-issues/issues/2025
f: make function! reduce [[x /local x-v y-v] body: [
x-v: either error? try [get/any 'x] [
"x does not have a value"
Expand All @@ -50,6 +51,14 @@ Rebol [
g: make function! reduce [[y /local x-v y-v] body]

--assert error? try [f 1]

--test-- "issue-2044"
;@@ https://github.com/Oldes/Rebol-issues/issues/2044
body: [x + y]
f: make function! reduce [[x] body]
g: make function! reduce [[y] body]
--assert error? try [f 1]

===end-group===

~~~end-file~~~

0 comments on commit abe3727

Please sign in to comment.