Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nqp:: message stoppable by RAKUDO_NO_DEPRECATIONS
  • Loading branch information
lizmat committed May 19, 2015
1 parent f4de5f3 commit 27e531b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -390,7 +390,9 @@ class Perl6::Actions is HLL::Actions does STDActions {
$compunit.annotate('W', $*W);

my @violations := @*NQP_VIOLATIONS;
if @violations {
if @violations &&
!+nqp::ifnull(nqp::atkey(nqp::getenvhash,'RAKUDO_NO_DEPRECATIONS'),0) {

my $file := nqp::getlexdyn('$?FILES');
my $bar := nqp::gethostname() eq 'ns1'
?? ""
Expand Down

0 comments on commit 27e531b

Please sign in to comment.