Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
properly match post declared grammars.
  • Loading branch information
timo committed Feb 28, 2013
1 parent ee4707d commit ed956b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-exceptions/misc.t
Expand Up @@ -381,7 +381,7 @@ throws_like 'class Foobar is Foobar', X::Inheritance::SelfInherit, name => "Foob
{
# RT #69760
my $code = q{class GrammarUserClass { method bar { PostDeclaredGrammar.parse('OH HAI'); } }; grammar PostDeclaredGrammar { rule TOP { .* } }; GrammarUserClass.bar;};
throws_like $code, X::Undeclared::Symbols, post_types => (Quux => *);
throws_like $code, X::Undeclared::Symbols, post_types => { .{"PostDeclaredGrammar"} :exists };
}

done;

0 comments on commit ed956b4

Please sign in to comment.