Skip to content

Commit 9dccbaf

Browse files
committed
1 parent 98ead99 commit 9dccbaf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/units/protect-test.r3

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ Rebol [
141141
--assert all [22 = put obj 'a 22 22 == obj/a]
142142
unprotect 'obj
143143

144+
--test-- "protect recursion"
145+
;@@ https://github.com/Oldes/Rebol-issues/issues/1764
146+
--assert is-locked-error? [new-block: reduce [1 2 protect/deep 'new-block 3 4]]
147+
144148

145149
===end-group===
146150

0 commit comments

Comments
 (0)