Skip to content

Commit

Permalink
Clarify NYI error in partially-dimensioned shaped array views
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Mar 4, 2017
1 parent 2a57bfc commit 3bf734f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/ShapedArray.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(my int $numdims = nqp::numdimensions($reified))
),
X::NYI.new(
feature => "Partially dimensioned views of arrays").throw,
feature => "Partially dimensioned views of shaped arrays").throw,
nqp::stmts(
(my $indices := nqp::getattr(@indices,List,'$!reified')),
(my $idxs := nqp::list_i),
Expand Down
6 changes: 3 additions & 3 deletions src/core/native_array.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ my class array does Iterable {
needed-dimensions => $numdims
).throw,
X::NYI.new(
feature => "Partially dimensioned views of arrays"
feature => "Partially dimensioned views of shaped arrays"
).throw
)
)
Expand Down Expand Up @@ -1828,7 +1828,7 @@ my class array does Iterable {
needed-dimensions => $numdims
).throw,
X::NYI.new(
feature => "Partially dimensioned views of arrays"
feature => "Partially dimensioned views of shaped arrays"
).throw
)
)
Expand Down Expand Up @@ -2358,7 +2358,7 @@ my class array does Iterable {
needed-dimensions => $numdims
).throw,
X::NYI.new(
feature => "Partially dimensioned views of arrays"
feature => "Partially dimensioned views of shaped arrays"
).throw
)
)
Expand Down

0 comments on commit 3bf734f

Please sign in to comment.