Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Fix compilation of inheritance. Seems to work just fine for class_6m-…
Browse files Browse the repository at this point in the history
…s now.
  • Loading branch information
jnthn committed Jan 9, 2011
1 parent 2ac9555 commit 25b6884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NQP/Actions.pm
Expand Up @@ -412,7 +412,7 @@ sub package($/) {
# Add call to add_parent if we have one.
# XXX Doesn't handle lexical classes yet.
if $<package_def><parent> {
my @ns := pir::clone__PP($<package_def><parent><identifier>);
my @ns := pir::clone__PP($<package_def><parent>[0]<identifier>);
my $name := ~@ns.pop;
$*PACKAGE-SETUP.push(PAST::Op.new(
:pasttype('callmethod'), :name('add_parent'),
Expand Down

0 comments on commit 25b6884

Please sign in to comment.