Skip to content

Instantly share code, notes, and snippets.

@gfldex
Created July 3, 2021 08:30
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 gfldex/784bc98adb639553d3eb02e9d0166a57 to your computer and use it in GitHub Desktop.
Save gfldex/784bc98adb639553d3eb02e9d0166a57 to your computer and use it in GitHub Desktop.
use v6;
use TestModule;
multi sub s($a, $b) {}
s(1,2);
# OUTPUT: Ambiguous call to 's(Int, Int)'; these signatures all match:
# ($a, $b)
# ($a, $b)
# in block <unit> at test.raku line 6
use v6;
multi sub s($a, $b) is export {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment