Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
All deprecated code will be removed at 6.0.0
  • Loading branch information
lizmat committed Jan 5, 2015
1 parent 1c8c8fc commit 22db535
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/core/Deprecations.pm
Expand Up @@ -110,9 +110,12 @@ sub DEPRECATED ( $alternative, $from?, $removed?, :$up = 1, :$what ) {
END {
unless %*ENV<RAKUDO_NO_DEPRECATIONS> {
if Deprecation.report -> $message {
note $message;
note "Please contact the author to have these calls to deprecated code adapted,";
note "so that this message will disappear!";
note $message; # q:to/TEXT/ doesn't work in settings
note 'Please contact the author to have these calls to deprecated code adapted,
so that this message will disappear!
Please note that *ALL* deprecated features will be removed at the release
of Perl 6.0.0 (expected some time in 2015).'
}
}
}
Expand Down

0 comments on commit 22db535

Please sign in to comment.