Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stub in LoL type so jnthn++ can work on **@param.
  • Loading branch information
pmichaud committed Jun 14, 2011
1 parent ff8b4a6 commit da5ab6c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Perl6/Metamodel/BOOTSTRAP.pm
Expand Up @@ -434,6 +434,14 @@ my stub Array metaclass Perl6::Metamodel::ClassHOW { ... };
Array.HOW.add_parent(Array, List);
Array.HOW.add_attribute(Array, BOOTSTRAPATTR.new(:name<$!descriptor>, :type(Mu)));

# class LoL is List {
# has $!descriptor;
# ...
# }
my stub LoL metaclass Perl6::Metamodel::ClassHOW { ... };
LoL.HOW.add_parent(LoL, List);
LoL.HOW.add_attribute(LoL, BOOTSTRAPATTR.new(:name<$!descriptor>, :type(Mu)));

# my class EnumMap is Iterable {
# has $!storage;
# ...
Expand Down

0 comments on commit da5ab6c

Please sign in to comment.