Skip to content

Commit

Permalink
Use World.DEPRECATED because we now can
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed May 20, 2015
1 parent 6f4c457 commit 484e9f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Perl6/ModuleLoader.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ class Perl6::ModuleLoader does Perl6::ModuleLoaderVMConfig {
}
}
if %opts<from> eq 'java' {
my $deprecated := $*W.find_symbol(['&DEPRECATED']);
nqp::call($deprecated, ':from<Java>', '2015.1', '2016.1', :what(':from<java>'));
$*W.DEPRECATED($/,':from<Java>','2015.01','2015.09',:what(':from<java>'));
return %language_module_loaders<Java>.load_module($module_name,
%opts, |@GLOBALish, :$line, :$file);
}
Expand Down

0 comments on commit 484e9f7

Please sign in to comment.