unparsed-text-lines() incorrect behaviour with blank lines
fn-uparsed-text-lines-5[3|4] fail due to incorrect handling of blank lines. This is for two reasons:
Iter.oneToOne .next()@, when provided with a @ForArrayargument, tests for an end of sequence value
item = _base.next()by using
true@!. Hence the result is terminated at the first blank line. Switching the test to @item === nullseems to sort the problem
The logic on
CoreFn.unparsed-text-linesdoes not handle a blank line as the last, i.e. when the last character is a line break, for which that blank line should be ommitted from the result.
Please register to edit this issue