Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix reporting of errors in gather/take.
  • Loading branch information
jnthn committed May 22, 2013
1 parent a0808a0 commit 9e31a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/parrot/6model/sixmodelobject.c
Expand Up @@ -393,7 +393,7 @@ PMC * hllize(PARROT_INTERP, PMC *obj, INTVAL hll_id) {
return obj;
}
}
else if (obj->vtable->base_type == enum_class_Sub) {
else if (obj->vtable->base_type == enum_class_Sub || obj->vtable->base_type == enum_class_Coroutine) {
if (VTABLE_exists_keyed_str(interp, config, Parrot_str_new_constant(interp, "foreign_transform_code"))) {
PMC *result;
PMC *code = VTABLE_get_pmc_keyed_str(interp, config, Parrot_str_new_constant(interp, "foreign_transform_code"));
Expand Down

0 comments on commit 9e31a04

Please sign in to comment.