REBOL3 tracker
  0.9.12 beta
Ticket #0002192 User: anonymous

Project:

Previous Next
rss
TypeBug Statusreviewed Date27-Jan-2015 22:40
Versionr3 master CategoryUnspecified Submitted byszeng
PlatformAll Severityminor Prioritynormal

Summary break from remove-each doesn't work as expected
Description Reported by MichaT from altme.

This is what the actual result:
>> remove-each n s: [ 1 2 3 4] [ print n if n = 2 [ break] true ] s
1
2
== [3 4]

This is what's expected:
>> remove-each n s: [ 1 2 3 4] [ print n if n = 2 [ break] true ] s
1
2
== [2 3 4]
Example code

			

Assigned ton/a Fixed in- Last Update25-Feb-2015 16:46


Comments
(0004562)
szeng
27-Jan-2015 22:50

Fixed by: https://github.com/zsx/r3/commit/b3364594eff99aeef092d57fda0e51cb1335b5e4

Date User Field Action Change
25-Feb-2015 16:46 abolka Description Modified -
25-Feb-2015 16:46 abolka Status Modified submitted => reviewed
27-Jan-2015 22:50 szeng Comment : 0004562 Added -
27-Jan-2015 22:40 szeng Ticket Added -