Created
October 15, 2019 00:29
-
-
Save Whateverable/0bd842bd0389a2010bce1ea270334ecd 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 $b = CArray[uint8].new(1, 2, 3, 4, 5); say $b[^5]; my $bb := nativecast(Buf[uint8], $b); $bb[0] = 9; say $b[^5]; |
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) | |
(1 2 3 4 5) | |
Internal error: unhandled target type | |
in sub nativecast at /tmp/whateverable/rakudo-moar/f3dda96a8b9c546644e714a81442f7469d35cad2/share/perl6/core/sources/947BDAB9F96E0E5FCCB383124F923A6BF6F8D76B (NativeCall) line 681 | |
in block <unit> at /tmp/yl1m5Dycrn line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment