Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/c.c Secret

Created October 23, 2018 15:52
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 zoffixznet/8a46fb785c7f3932b1d1a34a211beb87 to your computer and use it in GitHub Desktop.
Save zoffixznet/8a46fb785c7f3932b1d1a34a211beb87 to your computer and use it in GitHub Desktop.
found = MVM_6model_parametric_try_find_parameterization(tc, st, params);
printf("MVM_6model_parametric_parameterize.1: trying to find for %s\n", st->debug_name);
if (found) {
printf("MVM_6model_parametric_parameterize.1: FOUND [%s] \n", found->st->debug_name);
result->o = found;
return;
}
else {
printf("MVM_6model_parametric_parameterize.1: NOT FOUND\n");
}
MVM_6model_parametric_parameterize.1: trying to find for Array::TypedArray
MVM_6model_parametric_parameterize.1: NOT FOUND
ZZ1.1: Looking for Array::TypedArray[NQPArray]
MVM_6model_parametric_parameterize.1: trying to find for (null)
ZZ1.1: Looking for (null)[NQPArray]
MVM_6model_parametric_parameterize.1: FOUND [(null)]
MVM_6model_parametric_parameterize.1: FOUND [Array[Mu]]
MVM_6model_parametric_parameterize.1: trying to find for Callable
ZZ1.1: Looking for Callable[NQPArray]
Type check failed for return value; expected Array[Mu] but got Array[Mu]
in sub foo at /home/zoffix/R/rakudo/Foo.pm6 (Foo) line 2
in block <unit> at ../z.p6 line 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment