#1257 lastItem Method Fails for Array

5.0.0
pending
None
none
1
2015-03-15
2014-04-13
Erich
No

The lastItem method fails for an Array object, if the last item has been removed with removeItem()

rexx -e "A=.array~of(1,2,3); A~removeItem(3); say A~lastItem"

Above code seems to work fine for other OrderedCollection objects (List, Queue, CircularQueue)


Open Object Rexx Version 4.2.0
Build date: Feb 22 2014
Addressing Mode: 64

Discussion

  • Rick McGuire

    Rick McGuire - 2014-04-13

    Committed revision 9968.

     
  • Rick McGuire

    Rick McGuire - 2014-04-13
    • status: open --> pending
    • assigned_to: Rick McGuire
    • Group: None --> Next_Release
     
  • Rick McGuire

    Rick McGuire - 2015-03-15
    • Group: Next_Release --> 5.0.0
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks