# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #61566]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61566 >


<masak> rakudo: my @a := 1; say @a.WHAT
<p6eval> rakudo 34162: OUTPUT[Int␤]
<masak> hm.
<masak> rakudo: my @a = 1; say @a.WHAT
<p6eval> rakudo 34162: OUTPUT[Array␤]
<masak> so, with infix:<:=>, I can assign an Int to a @-variable. is
that kosher? [22:37]
<pmichaud> no. [22:38]
<pmichaud> Rakudo doesn't do any type checking on binding.
<pmichaud> (binding in general is kinda 'iffy')
<masak> so, the bug above is that Rakudo doesn't do type checking on
binding to array variables?
<pmichaud> correct.
<pmichaud> you should get a "Int does not do Positional role"
exception or something like that.

Reply via email to