Skip to content

Instantly share code, notes, and snippets.

@masak masak/example.txt Secret
Created Jan 11, 2015

Embed
What would you like to do?
Should this be allowed (but poison "B" in the importing scope)?
$ cat X.pm
enum X is export <A B>;
$ cat Y.pm
enum Y is export <B W>;
$ perl6 -I. -e 'use X; use Y'
===SORRY!===
Merging GLOBAL symbols failed: duplicate definition of symbol B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.