Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update List and Array definition in BOOTSTRAP.
  • Loading branch information
jnthn committed Aug 8, 2015
1 parent 1a2a617 commit 346e276
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -2601,14 +2601,11 @@ BEGIN {
Nil.HOW.compose_repr(Nil);

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

# class Array is List {
Expand Down

0 comments on commit 346e276

Please sign in to comment.