Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix my ($a, $, $b) = 1,2,3;
  • Loading branch information
jnthn committed Jul 7, 2011
1 parent b9db729 commit 8cb00d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion NOMMAP.markdown
Expand Up @@ -11,7 +11,6 @@ Current fails that people are likely to encounter (no particular order):
* regexes missing
* is export on methods
- should work outside the setting; note here if not
* my ($a, $, $b) = 1,2,3; (S03-operators/assign.t)
* multi dispatch to .Bool seems to be borked - for example 0i.Bool does not
call the multi in Complex.

Expand Down
7 changes: 4 additions & 3 deletions src/Perl6/Actions.pm
Expand Up @@ -958,9 +958,10 @@ class Perl6::Actions is HLL::Actions {
$_<twigil>, $_<desigilname>, []));
}
else {
$list.push(PAST::Op.new(
:pirop('repr_instance_of PP'),
$*ST.symbol_lookup([sigiltype($_<sigil> || '$')], $/)));
$list.push($*ST.build_container_past(
sigiltype($_<sigil> || '$'),
$*ST.create_container_descriptor(
$*ST.find_symbol(['Mu']), 1, 'anon')));
}
}
make $list;
Expand Down

0 comments on commit 8cb00d5

Please sign in to comment.