Created
May 14, 2009 20:33
-
-
Save pmichaud/111891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat Foo.pm | |
module Foo { | |
multi sub infix:<abc> is export(:DEFAULT) { 1 } | |
} | |
$ cat test.pl | |
use Foo; | |
say 1 abc 2; | |
$ ./perl6 test.pl | |
No applicable candidates found to dispatch to for 'infix:abc' | |
current instr.: '_block52' pc 73 (EVAL_22:53) | |
called from Sub '!UNIT_START' pc 18653 (src/builtins/guts.pir:470) | |
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 949 (src/PCT/HLLCompiler.pir:530) | |
called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1274 (src/PCT/HLLCompiler.pir:691) | |
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1469 (src/PCT/HLLCompiler.pir:792) | |
called from Sub 'parrot;Perl6;Compiler;main' pc 253896 (src/gen_actions.pir:23373) | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment