Skip Menu |
Report information
Id: 130501
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: gfldex <wenzel.peppmeyer [at] gmx.de>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: augment on enums
From: "Wenzel P. P. Peppmeyer" <wenzel.peppmeyer [...] gmx.de>
Date: Wed, 4 Jan 2017 22:09:48 +0100 (CET)
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 402b
use MONKEY-TYPING; augment class Bool { method m { say 'oi‽' } }; (1 < 2).m # It's at least ENOSPEC and ENODOC and may be a undesired side effect of # leaking Rakudo internals. # It's a little confusing that `augment enum` doesn't work, because it # works for role, class and slang. # please update: https://github.com/perl6/doc/issues/1115 # please update: https://github.com/perl6/roast/issues/214


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org