Skip to content

Commit

Permalink
Consider rv2cv in lvalue method call optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobez committed Apr 6, 2012
1 parent d0b9e40 commit ca1cfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBIx/Perlish/Parse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ sub get_tab_field
$op = $op->sibling;
my $field = want_method($S, $op);
$op = $op->sibling;
if ($p{lvalue}) {
if ($p{lvalue} && is_unop($op, "rv2cv")) {
want_unop($S, $op, "rv2cv");
$op = $op->sibling;
}
Expand Down

0 comments on commit ca1cfa3

Please sign in to comment.