#1210 intersection method broken for circular queue class.

v4.2.0
closed
Rick McGuire
None
complete
1
2014-04-15
2013-11-21
Rick McGuire
No

The intersection method for the circularqueue class is broken because the method is getting a an error when it tries to create a new circular queue object without specifying a size.

Discussion

  • Rick McGuire
    Rick McGuire
    2013-11-21

    Here's a simple way of recreating:

    say .circularqueue~of(1,2,5)~intersection(.circularqueue~of(2,3,4))

     
  • Rick McGuire
    Rick McGuire
    2013-11-21

    Committed revision [r9531]

    A doc update is still required to indicate that circular queue overrides intersection and that the returned queue will have the same size as the receiving queue.

     

    Related

    Commit: [r9531]

  • Rick McGuire
    Rick McGuire
    2013-11-21

    • status: open --> accepted
    • Pending work items: code --> doc
     
  • Rick McGuire
    Rick McGuire
    2013-11-22

    tests committed [r9534]

     

    Related

    Commit: [r9534]

  • Rick McGuire
    Rick McGuire
    2013-11-22

     
  • Rick McGuire
    Rick McGuire
    2013-11-24

    • Pending work items: doc --> tests
     
  • Rick McGuire
    Rick McGuire
    2013-12-02

    • status: accepted --> pending
    • Pending work items: tests --> complete
     
  • Rick McGuire
    Rick McGuire
    2013-12-02

    tests committed revision [r9602]

     

    Related

    Commit: [r9602]

  • Rick McGuire
    Rick McGuire
    2014-04-15

    • status: pending --> closed
     


Anonymous


Cancel   Add attachments