Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops, fix that type lookup.
  • Loading branch information
jnthn committed Apr 26, 2011
1 parent 0c07f7d commit cdae853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NQP/Actions.pm
Expand Up @@ -607,7 +607,7 @@ class NQP::Actions is HLL::Actions {
my %obj_args;
%lit_args<name> := $name;
if $<typename> {
%obj_args<type> := find_sym(~$<typename>[0], $/);
%obj_args<type> := find_sym([~$<typename>[0]], $/);
}

# Add it.
Expand Down

0 comments on commit cdae853

Please sign in to comment.