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


Two tests in S02-types/array-shapes.t fail, because pushing a string to a typed 
array of type 'int' dies with X::AdHoc instead of X::TypeCheck:

$ perl6-m -e 'my int @a; push @a, "s"'
This type cannot unbox to a native integer
  in block <unit> at -e:1

$ perl6-m -e 'my Int @a; push @a, "s"'
Type check failed in .push; expected 'Int' but got 'Str'
  in block <unit> at -e:1

Reply via email to