# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #130510]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130510 >


Code:
my @c[2;2] .= new(:shape(2, 2), <a b>, <c d>)'


Result (2015.12,2016.10):
[[1 a] [2 b]]
(1 a 2 b)


Result (2016.11,HEAD):
Cannot assign an array of shape 2 2 to an array of shape 2 2
  in block <unit> at /tmp/9MD__1ftfd line 1
«exit code = 1»



Bisectable points to two related commits:
https://github.com/rakudo/rakudo/commit/1293188342fdb66aa6cd00668d988a710a36f489
https://github.com/rakudo/rakudo/commit/c5d33a2d4b1dc7548fdfce0207b46e62d304e114


Error appeared after the first one, but looked like this:

Assignment to array with shape 2 2 must provide structured data
  in block <unit> at /tmp/jA3o34pAeI line 1


Actual nonsense in the error message was introduced after the second commit:

Cannot assign an array of shape 2 2 to an array of shape 2 2
in block <unit> at /tmp/jA3o34pAeI line 1

Reply via email to