Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

augment on enums #5976

Open
p6rt opened this issue Jan 4, 2017 · 1 comment
Open

augment on enums #5976

p6rt opened this issue Jan 4, 2017 · 1 comment

Comments

@p6rt
Copy link

@p6rt p6rt commented Jan 4, 2017

Migrated from rt.perl.org#130501 (status was 'new')

Searchable as RT130501$

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 4, 2017

From @gfldex

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​: Raku/doc#1115
# please update​: Raku/roast#214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant