Euphoria Ticket #861: bad index in nested_get() function in map.e

in map.e function nested_get() invalid index for loop

object val_ = get( the_map_p, the_keys_p[1], 0 ) 

should be

object val_ = get( the_map_p, the_keys_p[i], 0 ) 

Details

Type: Bug Report Severity: Blocking Category: Library Routine
Assigned To: mattlewis Status: Invalid Reported Release: 4.1.0
Fixed in SVN #: View VCS: none Milestone:

1. Comment by mattlewis Apr 04, 2013

See: hg:euphoria/rev/cb63009c6ff6

changeset: 6074:cb63009c6ff6 tag: tip user: Matt Lewis date: Thu Apr 04 04:52:00 2013 -0400 files: tests/t_literals.e tests/t_map.e description:

  • added test for ticket 861
  • not a bug

2. Comment by mattlewis Apr 04, 2013

I added a test for this in t_map.e. It is not actually a bug. Note that the_keys_p is updated:

the_keys_p = the_keys_p[2..$] 

Search



Quick Links

User menu

Not signed in.

Misc Menu