Skip to content

Commit

Permalink
Fix Array smart-matching when two Whatevers were written one after th…
Browse files Browse the repository at this point in the history
…e other. Resolves RT#61452.
  • Loading branch information
jnthn committed Feb 13, 2009
1 parent 01811bf commit daa2eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/classes/List.pir
Expand Up @@ -63,6 +63,8 @@ Smart-matches against the list.
unless it_a goto true
.local pmc looking_for
looking_for = shift it_a
$I0 = isa looking_for, whatever
if $I0 goto handle_whatever
whatever_loop:
$P0 = 'infix:==='(looking_for, cur_b)
if $P0 goto found_looking_for
Expand Down

0 comments on commit daa2eea

Please sign in to comment.