Created
March 24, 2014 16:45
-
-
Save retupmoca/9744166 to your computer and use it in GitHub Desktop.
This is what makes Compress::Zlib::Raw die on moarvm
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
module foo; | |
use NativeCall; | |
my CArray[int8] $x; |
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
> perl6 -I. -e 'use foo; use NativeCall; my $x = CArray[int].new; say 1;' | |
1 | |
> perl6 --target=mbc --output=foo.moarvm foo.pm6 | |
> perl6 -I. -e 'use foo; use NativeCall; my $x = CArray[int].new; say 1;' | |
===SORRY!=== | |
None of the parametric role variants for 'IntTypedCArray' matched the arguments supplied. | |
Cannot call ''; none of these signatures match: | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment