cjfields / bioperl6

reimplementation of BioPerl classes in Raku (e.g. the language formerly known as Perl6)
http://bioperl.org
Artistic License 2.0
48 stars 13 forks source link

Add unit declarator to role declarations #4

Closed paultcochrane closed 9 years ago

paultcochrane commented 9 years ago

As of Rakudo 2015.05, the unit declarator is required before using module, class, role 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.

I noticed that you'd updated some of the other unit-related issues and had done so by using the block form of the role statement, thus I've updated the remaining files similarly.

paultcochrane commented 9 years ago

Actually there are none, however I think that's because they're in the nyi directory and thus aren't yet run by the test suite.

cjfields commented 9 years ago

I added the unit fixes to the main code base but the code in nyi is either not implemented but planned, or may not be implemented at all depending on their need.