Skip to content

Commit

Permalink
Support flattening native arrays into calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Mar 14, 2015
1 parent 533b24b commit 889ce3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/native_array.pm
Expand Up @@ -428,4 +428,7 @@ class array is Iterable is repr('VMArray') {
# Native arrays aren't lazy, so nothing to do.
nqp::elems(self)
}

method FLATTENABLE_LIST() { self }
method FLATTENABLE_HASH() { nqp::hash() }
}

0 comments on commit 889ce3f

Please sign in to comment.