Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'nom' into newio
  • Loading branch information
lizmat committed Jan 5, 2015
2 parents cb3bd5f + 97bf782 commit 109a680
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/ChangeLog
Expand Up @@ -3,6 +3,7 @@ New in 2015.01
non-placeholder in the same scope
+ sub form of 'unique' introduced, 'uniq' deprecated
+ Supply.for deprecated in favour of Supply.from-list
+ All deprecated features will be removed with 6.0.0 (sometime in 2015)

New in 2014.12
+ Flakiness on OS X has been fixed
Expand Down
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 109a680

Please sign in to comment.