# New Ticket Created by Alexander Moquin # Please include the string: [perl #123769] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123769 >
The following should die: $ perl6 -e'my Int @a; @a[0] := "foo"' $ Presumably the error would be similar to the correct error given by assignment $ perl6 -e'my Int @a; @a[0] = "foo"' Type check failed in assignment to '@a'; expected 'Int' but got 'Str' in method assign_pos at src/gen/m-CORE.setting:10294 in sub postcircumfix:<[ ]> at src/gen/m-CORE.setting:3285 in block <unit> at -e:1