Skip to content

Commit cdae853

Browse files
committed
Oops, fix that type lookup.
1 parent 0c07f7d commit cdae853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NQP/Actions.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class NQP::Actions is HLL::Actions {
607607
my %obj_args;
608608
%lit_args<name> := $name;
609609
if $<typename> {
610-
%obj_args<type> := find_sym(~$<typename>[0], $/);
610+
%obj_args<type> := find_sym([~$<typename>[0]], $/);
611611
}
612612

613613
# Add it.

0 commit comments

Comments
 (0)