Created
March 30, 2019 14:50
-
-
Save Whateverable/2c439cbcbf23df58f66bdded9bc8d17b to your computer and use it in GitHub Desktop.
evalable6
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
use NativeCall; my $initial = CArray[uint8].new(1, 2, 3, 4); my $casted = nativecast(CArray[uint16], $initial); $casted.say; $initial.push($_) for 10..14; $casted.say |
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
(exit code 1) | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system | |
in any statement_control at /tmp/whateverable/rakudo-moar/adba017f794107d938d644883609b0a5cfa52b8e/bin/../share/nqp/lib/Perl6/Grammar.moarvm line 1 | |
NativeCall::Types::CArray[uint16].new | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system | |
in any statement_control at /tmp/whateverable/rakudo-moar/adba017f794107d938d644883609b0a5cfa52b8e/bin/../share/nqp/lib/Perl6/Grammar.moarvm line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Failed to create directory '/home/bisectable/.perl6/short' with mode '0o777': Failed to mkdir: Read-only file system | |
in any statement_control at /tmp/whateverable/rakudo-moar/adba017f794107d938d644883609b0a5cfa52b8e/bin/../share/nqp/lib/Perl6/Grammar.moarvm line 1 | |
Cannot resolve caller push(NativeCall::Types::CArray[uint8]:D: Int:D); none of these signatures match: | |
(Any:U \SELF: |values is raw) | |
in block <unit> at /tmp/hofF1eOMkt line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment