File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 838
838
}
839
839
}
840
840
}
841
- else if (ANY_BLOCK (value ) && (mode & BIND_DEEP ))
841
+ else if (( ANY_BLOCK (value ) || IS_MAP ( value ) ) && (mode & BIND_DEEP ))
842
842
Bind_Block_Words (frame , VAL_BLK_DATA (value ), mode );
843
843
else if ((IS_FUNCTION (value ) || IS_CLOSURE (value )) && (mode & BIND_FUNC ))
844
844
Bind_Block_Words (frame , BLK_HEAD (VAL_FUNC_BODY (value )), mode );
Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ Rebol [
28
28
--assert 2 = m/b
29
29
--assert empty? # []
30
30
31
+ --test-- "word binding inside maps"
32
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/2593
33
+ a: 1
34
+ m1: make map! [k a]
35
+ m2: # [k a]
36
+ --assert 1 = try [get m1/k ]
37
+ --assert 1 = try [get m2/k ]
38
+
31
39
--test-- "case sensitivity"
32
40
;@@ https://github.com/Oldes/Rebol-issues/issues/1153
33
41
m: # [
You can’t perform that action at this time.
0 commit comments