Skip to content

Instantly share code, notes, and snippets.

Created May 14, 2016 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9dcf4e0de929423e24992da03669bd9f to your computer and use it in GitHub Desktop.
Save anonymous/9dcf4e0de929423e24992da03669bd9f to your computer and use it in GitHub Desktop.
YNOFOO
use v6;
module M {
multi sub foo (Str $s) { say $s; }
}
module N {
multi sub foo (Str $s) { say $s; }
}
sub MAIN () {
M::foo("foo");
}
Could not find symbol '&foo'
in sub MAIN at t.p6 line 12
in block <unit> at t.p6 line 12
Actually thrown at:
in sub MAIN at t.p6 line 12
in block <unit> at t.p6 line 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment