Skip to content

Commit

Permalink
.compose_repr is only needed in the bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 24, 2019
1 parent fe1dcad commit 5eea5f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/Perl6/Metamodel/ContainerSpecProtocol.nqp
Expand Up @@ -15,7 +15,6 @@ role Perl6::Metamodel::ContainerSpecProtocol {
my $code_pair := $class.HOW.get_container_spec($class);
if $code_pair {
nqp::setcontspec($obj, 'code_pair', $code_pair);
$obj.HOW.compose_repr($obj);
last;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/Perl6/bootstrap.c/BOOTSTRAP.nqp
Expand Up @@ -1759,6 +1759,7 @@ BEGIN {
'store', $PROXY_STORE
));
Proxy.HOW.compose(Proxy);
Proxy.HOW.compose_repr(Proxy);

# Helper for creating a scalar attribute. Sets it up as a real Perl 6
# Attribute instance, complete with container descriptor and optional
Expand Down

0 comments on commit 5eea5f4

Please sign in to comment.