Navigation Menu

Skip to content

Commit

Permalink
Make List.$!reified a List instead of Mu
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Oct 28, 2016
1 parent 0b5e38a commit e48fb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -2739,10 +2739,10 @@ BEGIN {
Nil.HOW.compose_repr(Nil);

# class List is Cool {
# has Mu $!reified;
# has List $!reified;
# has Mu $!todo;
List.HOW.add_parent(List, Cool);
List.HOW.add_attribute(List, scalar_attr('$!reified', Mu, List));
List.HOW.add_attribute(List, scalar_attr('$!reified', List, List));
List.HOW.add_attribute(List, scalar_attr('$!todo', Mu, List));
List.HOW.compose_repr(List);

Expand Down
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -149,7 +149,7 @@ my class List does Iterable does Positional { # declared in BOOTSTRAP
# class List is Cool {
# The reified elements in the list so far (that is, those that we already
# have produced the values for).
# has $!reified;
# has List $!reified;
#
# Object that reifies the rest of the list. We don't just inline it into
# the List class itself, because a STORE on Array can clear things and
Expand Down

0 comments on commit e48fb80

Please sign in to comment.