Skip to content

Commit

Permalink
Fix comment explaining scalar_attr, nine++
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Oct 21, 2016
1 parent 94d7309 commit 6319b55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -1368,8 +1368,8 @@ BEGIN {
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 auto-viv
# container.
# Attribute instance, complete with container descriptor and optional
# auto-viv container.
sub scalar_attr($name, $type, $package, :$associative_delegate, :$auto_viv_container = 1) {
my $cd := Perl6::Metamodel::ContainerDescriptor.new(
:of($type), :rw(1), :$name);
Expand Down Expand Up @@ -3260,3 +3260,5 @@ nqp::gethllsym('perl6', 'JavaModuleLoader').set_interop_loader(-> {
});
Perl6::Metamodel::JavaHOW.pretend_to_be([Any, Mu]);
#?endif

# vim: expandtab shiftwidth=4

0 comments on commit 6319b55

Please sign in to comment.