Permalink
Browse files

Properly DEPRECATE bless(*) calls

  • Loading branch information...
1 parent b227e62 commit 262e600cbb1a7e1085407705a7a435375ccbc4c9 @lizmat lizmat committed Dec 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Mu.pm
View
@@ -60,7 +60,7 @@ my class Mu { # declared in BOOTSTRAP
method bless(*@autovivs, *%attrinit) {
if @autovivs && nqp::istype(@autovivs[0], Whatever) {
- warn "Passing an object candidate to Mu.bless is deprecated";
+ DEPRECATED( "a call to bless without initial * parameter" );
@autovivs.shift;
}
nqp::create(self).BUILDALL(@autovivs, %attrinit);

0 comments on commit 262e600

Please sign in to comment.