#1215 Numeric strings not working with DO OVER

v4.2.0
closed
None
complete
1
2014-04-15
2013-12-05
No

A fix was made to the string class so that the DO OVER instruction would recognize that .String implements a makearray method. However, this fix was incomplete, and some numeric values (e.g. instances of RexxInteger and RexxNumberString) will cause an error if used on DO OVER. For example,

do s over "abc"; say s; end

works, while

do s over 123; say s; end

will give an error.

Discussion

  • Rick McGuire

    Rick McGuire - 2013-12-06
    • status: accepted --> pending
    • Pending work items: code --> complete
     
  • Rick McGuire

    Rick McGuire - 2013-12-06

    Committed [r9620]

     

    Related

    Commit: [r9620]

  • Rick McGuire

    Rick McGuire - 2014-04-15
    • status: pending --> closed
     


Anonymous

Cancel  Add attachments