Please sign in to comment.
adaptations to the new Rakudo master
- Named enums are not in place yet; swapped them out for simple subroutines. - As a consequence, needed to put parens in some places where subs would otherwise gobble up things as arguments. - The quote qq[<$prefix\[$list\]>] is now interpreted as an indexing into $prefix, what with the new correct-er interpolator and all. (jnthn++) But that wasn't at all what was intended -- the inner brackets are escaped in a misguided attempt to have them not be interpolated. Split the string up into smaller ones for clarity. - Changed one 'class ... is also' into a stub class and a real declaration, and another one into a class declaration and an 'augment class'. Had to add 'use MONKEY_TYPING;' for the latter. - Changed a large number of subs in a class (which were already a workaround for constants) into 'our sub' declarations. - Became a bit more honest with a hash parameter %opts, which was detected to be changing inside the method even though it was readonly. We got away with this earlier, because assignment to elements of a hash wasn't checked. - Removed an 'undef'. Since the method body is empty, it should now return Nil instead, which should work just as well. - Removed a no-longer-necessary workaround with '// undef' on hash lookups which might return a miss. Such return values used to be nuclear, but that problem has since been fixed. - Workedaround the lack of '<->' signatures. The code didn't become *that* much more repetitious. - Switched the engine over from 'alpha' to 'perl6'.
- Loading branch information...
Showing with 46 additions and 42 deletions.