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


Code:
say Hash[Int].new(‘abc’ => 20..50)


Result (2015.12):
Type check failed in binding $x; expected Int but got Range
  in block <unit> at /tmp/CRJOhWZaTS line 1
 «exit code = 1»


Result (HEAD):
{abc => 20..50}


It should complain that it got a Range instead of an Int.

Bisectable points to 
https://github.com/rakudo/rakudo/commit/b2e57f697fad1617951561ff928e6d981b323386

Reply via email to