Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct earlier patch to attribute generic instantiation.
  • Loading branch information
jnthn committed Jul 9, 2011
1 parent c30f5f3 commit 12e692c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/BOOTSTRAP.pm
Expand Up @@ -152,7 +152,7 @@ Attribute.HOW.add_method(Attribute, 'instantiate_generic', sub ($self, $type_env
my $avc := pir::getattribute__PPPs($self, Attribute, '$!auto_viv_container');
my $type_ins := $type.HOW.instantiate_generic($type, $type_environment);
my $cd_ins := $cd.instantiate_generic($type_environment);
my $pkg_ins := $pkg.instantiate_generic($type_environment);
my $pkg_ins := $pkg.HOW.instantiate_generic($pkg, $type_environment);
my $avc_copy := pir::repr_clone__PP(pir::perl6_var__PP($avc));
my $ins := pir::repr_clone__PP($self);
pir::setattribute__vPPsP($ins, Attribute, '$!type', $type_ins);
Expand Down

0 comments on commit 12e692c

Please sign in to comment.