Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add unit declarator to module, class and grammar declarations
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 18, 2015
1 parent
354b936
commit 532723d
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| class JSON::Tiny::Actions; | ||
| unit class JSON::Tiny::Actions; | ||
|
|
||
| method TOP($/) { | ||
| make $/.values.[0].made; | ||
|
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters