Skip to content

Commit

Permalink
Test whateverclosure adverb says what can't be adverbed
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Feb 8, 2018
1 parent 4d0c09f commit 9da3bd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -1001,4 +1001,8 @@ throws-like 「say ‘hello';
say 42;
say 50;, X::Comp::FailGoal, line => 3, message => /«'line 1'»/;

# https://github.com/rakudo/rakudo/issues/1476
throws-like *+42:foo, X::Syntax::Adverb, :what{.so},
'error in Whatever closure with adverb mentions what cannot be adverbed';

# vim: ft=perl6

0 comments on commit 9da3bd0

Please sign in to comment.