Skip to content

Commit 516dfee

Browse files
committed
FIX: reword expecting that maps cannot accept none values
related to: Oldes/Rebol-wishes#21
1 parent 373bd66 commit 516dfee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mezz/mezz-series.reb

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ reword: func [
234234
]
235235
unless empty? w [
236236
unless empty? char-end [w: append copy w char-end]
237-
poke vals w unless unset? :v [:v]
237+
either unset? :v [ remove/key vals w ][ poke vals w :v ]
238238
]
239239
]
240240
]
@@ -249,7 +249,7 @@ reword: func [
249249
]
250250
unless empty? w [
251251
unless empty? char-end [w: append copy w char-end]
252-
poke vals w unless unset? :v [:v]
252+
either unset? :v [ remove/key vals w ][ poke vals w :v ]
253253
]
254254
]
255255
]

0 commit comments

Comments
 (0)