Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created January 23, 2016 06:47
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 zoffixznet/11c536e6956818a694b9 to your computer and use it in GitHub Desktop.
Save zoffixznet/11c536e6956818a694b9 to your computer and use it in GitHub Desktop.
zoffix@zoffix-VirtualBox:~/CPANPRC/agar$ cat test.p6
use NativeCall;
sub AG_InitCore(Str, uint32) returns int32 is native('ag_core') {*}
AG_InitCore(Nil, 0(uint32));
zoffix@zoffix-VirtualBox:~/CPANPRC/agar$ perl6 test.p6
Cannot find method 'CALL-ME'
in block <unit> at test.p6 line 4
zoffix@zoffix-VirtualBox:~/CPANPRC/agar$
@zoffixznet
Copy link
Author

$ perl6 --ll-exception test.p6
Cannot find method 'CALL-ME'
at gen/moar/m-BOOTSTRAP.nqp:2854 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm::76)
from test.p6:4 (::30)
from test.p6:1 (::10)
from gen/moar/stage2/NQPHLL.nqp:1304 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:eval:190)
from gen/moar/stage2/NQPHLL.nqp:1507 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:evalfiles:91)
from gen/moar/stage2/NQPHLL.nqp:1401 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:command_eval:214)
from src/Perl6/Compiler.nqp:69 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval:93)
from gen/moar/stage2/NQPHLL.nqp:1375 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:command_line:114)
from gen/moar/m-main.nqp:37 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:MAIN:18)
from gen/moar/m-main.nqp:33 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm::189)
from :1 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:

:8)
from :1 (/home/zoffix/.rakudobrew/moar-nom/insta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment