Skip to content

Commit

Permalink
Add unit declarator to module declarations
Browse files Browse the repository at this point in the history
As of Rakudo 2015.05, the `unit` declarator is required before using
`module`, `class` or `grammar` declarations (unless it uses a block).  Code
still using the old blockless semicolon form will throw a warning. This
commit stops the warning from appearing in the new Rakudo.
  • Loading branch information
Paul Cochrane committed May 21, 2015
1 parent 86ad288 commit 7058d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Coroutines.pm
@@ -1,4 +1,4 @@
module Coroutines;
unit module Coroutines;

my @coroutines;

Expand Down

0 comments on commit 7058d22

Please sign in to comment.