Type | Bug | Status | tested | Date | 21-Jan-2010 17:42 |
---|---|---|---|---|---|
Version | alpha 96 | Category | Native | Submitted by | Carl |
Platform | All | Severity | minor | Priority | normal |
Summary | Incorrect newline break after MOLD/only of block |
---|---|
Description |
See example below. The 1 and 2 should be on separate lines. The problem could also be somewhere in LOAD or TRANSCODE; I've not had the chance to investigate it further. Note that MOLD w/o /only works as expected. |
Example code |
; LOAD not shown here, because it is at the level of script loading. print mold/only [1 2 3 ] 1 2 <-- wrong 3 |
Assigned to | n/a | Fixed in | alpha 97 | Last Update | 8-Feb-2010 03:27 |
---|
Comments | |
---|---|
(0001920)
BrianH 24-Jan-2010 05:20 |
It's not LOAD or TRANSCODE, it's just MOLD/only. Here's some test code that proves it.
>> load "[1^/2^/3^/]" == [1 2 3 ] >> mold load "[1^/2^/3^/]" == {[1 2 3 ]} >> mold/only load "[1^/2^/3^/]" == "1 2^/3" >> mold/only load "[1 2^/3^/4^/]" == "1 2 3^/4" >> mold/only load "[1 2^/3^/4^/5]" == "1 2 3^/4^/5" MOLD/only ignores the first newline of a block, no matter how many elements are before it. It should only ignore leading newlines that are before the first element, the same as it does with trailing newlines. |
Date | User | Field | Action | Change |
---|---|---|---|---|
8-Feb-2010 03:27 | BrianH | Status | Modified | built => tested |
4-Feb-2010 18:01 | carl | Fixedin | Modified | => alpha 97 |
4-Feb-2010 18:01 | carl | Status | Modified | reviewed => built |
24-Jan-2010 05:20 | BrianH | Comment : 0001920 | Added | - |
24-Jan-2010 05:08 | BrianH | Summary | Modified | Incorrect newline break after MOLD/only of LOAD on block => Incorrect newline break after MOLD/only of block |
24-Jan-2010 05:08 | BrianH | Description | Modified | - |
24-Jan-2010 05:08 | BrianH | Code | Modified | - |
24-Jan-2010 05:08 | BrianH | Category | Modified | Unspecified => Native |
24-Jan-2010 05:08 | BrianH | Status | Modified | submitted => reviewed |
21-Jan-2010 17:42 | carl | Ticket | Added | - |