Skip to content

Instantly share code, notes, and snippets.

Created July 13, 2011 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1080627 to your computer and use it in GitHub Desktop.
Save anonymous/1080627 to your computer and use it in GitHub Desktop.
pmichaud@kiwi:~/nom$ git diff
diff --git a/src/Perl6/Metamodel/BOOTSTRAP.pm b/src/Perl6/Metamodel/BOOTSTRAP.pm
index e895281..e80c64a 100644
--- a/src/Perl6/Metamodel/BOOTSTRAP.pm
+++ b/src/Perl6/Metamodel/BOOTSTRAP.pm
@@ -626,6 +626,8 @@ my $match_cd := Perl6::Metamodel::ContainerDescriptor.new(
pir::new__PsP('Perl6LexPad', hash()).configure_magicals(
$topic_cd, $error_cd, $match_cd, Scalar, Any, EnumMap, Hash);
+use QRegex;
+
# Build up EXPORT::DEFAULT.
my module EXPORT {
our module DEFAULT {
@@ -666,5 +668,6 @@ my module EXPORT {
$?PACKAGE.WHO<MethodDispatcher> := Perl6::Metamodel::MethodDispatcher;
$?PACKAGE.WHO<MultiDispatcher> := Perl6::Metamodel::MultiDispatcher;
$?PACKAGE.WHO<WrapDispatcher> := Perl6::Metamodel::WrapDispatcher;
+ $?PACKAGE.WHO<NQPCursorRole> := NQPCursorRole;
}
}
pmichaud@kiwi:~/nom$ ./perl6
> say NQPCursorRole;
No method cache and no find_method method in meta-object
> my class Cursor does NQPCursorRole { }
Method 'has_accessor' not found for invocant of class 'NQPAttribute'
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment