Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RSA should also report true in nqp::islist, otherwise the result of s…
…plit does not count as a list, which caused some breakage.
  • Loading branch information
jnthn committed Aug 31, 2012
1 parent a94c294 commit c07af7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ops/nqp.ops
Expand Up @@ -91,7 +91,8 @@ static void SC_write_barrier_st(PARROT_INTERP, STable *st) {
static INTVAL
nqp_islist(PMC *pmc) {
INTVAL type = pmc->vtable->base_type;
return (INTVAL)(type == qrpa_id || type == enum_class_ResizablePMCArray);
return (INTVAL)(type == qrpa_id || type == enum_class_ResizablePMCArray
|| type == enum_class_ResizableStringArray);
}

/* Test for something being a list (RPA or QRPA). */
Expand Down

0 comments on commit c07af7a

Please sign in to comment.