Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 2, 2017 14:27
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 Whateverable/51b84d58476f362e210355f21d15153d to your computer and use it in GitHub Desktop.
Save Whateverable/51b84d58476f362e210355f21d15153d to your computer and use it in GitHub Desktop.
committable6
HEAD use Test; use NativeCall; lives-ok { CArray[Str].new[my int $ = 1] }, 'native int as index to CArray does not crash'
¦«HEAD(5f68c77)»:
not ok 1 - native int as index to CArray does not crash
# Failed test 'native int as index to CArray does not crash'
# at /tmp/vLLfXCFYuE line 1
# Ambiguous call to 'postcircumfix:<[ ]>'; these signatures all match:
# :(\SELF, int $pos)
# :(NativeCall::Types::CArray:D \array, $pos) «exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment