Skip to content

Commit

Permalink
Expose the Array::ShapedArray role
Browse files Browse the repository at this point in the history
So that we can actually dispatch on that, like we can on the native
version, the array::shapedarray role.
  • Loading branch information
lizmat committed Nov 1, 2020
1 parent 9be9a5c commit ee08923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/ShapedArray.pm6
@@ -1,6 +1,6 @@
# this is actually part of the Array class

my role ShapedArray does Rakudo::Internals::ShapedArrayCommon {
role ShapedArray does Rakudo::Internals::ShapedArrayCommon {
has $.shape;

# Handle dimensions > 3 or more indices than dimensions.
Expand Down

0 comments on commit ee08923

Please sign in to comment.