Browse files

niecza fudge

  • Loading branch information...
1 parent 37c0bd5 commit 450fb6e2df9e9a3024f803bb14e987179f8399cf @coke coke committed Jan 31, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 S05-grammar/namespace.t
  2. +2 −0 S12-class/namespaced.t
View
1 S05-grammar/namespace.t
@@ -48,6 +48,7 @@ ok("foo" ~~ &Foo::Bar::foo, 'regex in a namespace callable');
grammar Grammar::Deep { token foo { 'foo' }; }
grammar GrammarShallow { token TOP { <Grammar::Deep::foo> 'bar' }; }
+#?niecza skip 'Cannot dispatch to a method on GrammarShallow because it is not inherited or done by Cursor'
ok('foobar' ~~ /<GrammarShallow::TOP>/, 'regex can call regex in nested namespace');
# vim: ft=perl6
View
2 S12-class/namespaced.t
@@ -50,7 +50,9 @@ class C {
}
{
ok(C::D ~~ Grammar, 'C::D is a grammar');
+ #?niecza skip 'Cannot dispatch to a method on D because it is not inherited or done by Cursor'
ok('aaa' ~~ /<C::D::test>/, 'could call rule in nested grammar');
+ #?niecza skip 'Cannot dispatch to a method on D because it is not inherited or done by Cursor'
ok(!('bbb' ~~ /<C::D::test>/), 'rule in nested grammar behaves correctly');
}

0 comments on commit 450fb6e

Please sign in to comment.