Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 7, 2017 14:45
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/52a6c5f1a1b21df2f38e7c2889dc855b to your computer and use it in GitHub Desktop.
Save Whateverable/52a6c5f1a1b21df2f38e7c2889dc855b to your computer and use it in GitHub Desktop.
committable6
HEAD~10 use NativeCall; class { method foo(Str $foo) is native {} }.new.foo
¦«HEAD~10»:
Unknown type <anon|94239268297776> used in native call.
If you want to pass a struct, be sure to use the CStruct or
CPPStruct representation.
If you want to pass an array, be sure to use the CArray type.
in sub type_code_for at /tmp/whateverable/rakudo-moar/39461368b58ef2ebe35b6719fc596d6413534e6c/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 175
in sub param_hash_for at /tmp/whateverable/rakudo-moar/39461368b58ef2ebe35b6719fc596d6413534e6c/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 81
in sub param_list_for at /tmp/whateverable/rakudo-moar/39461368b58ef2ebe35b6719fc596d6413534e6c/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 99
in method setup at /tmp/whateverable/rakudo-moar/39461368b58ef2ebe35b6719fc596d6413534e6c/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 287
in method CALL-ME at /tmp/whateverable/rakudo-moar/39461368b58ef2ebe35b6719fc596d6413534e6c/share/perl6/sources/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 539
in block <unit> at /tmp/Lbh0wPcNrf line 1
«exit code = 1»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment