You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<diakopter> rakudo: my Int (Str $x); say $x.WHAT # unspecced behavior?
<p6eval> rakudo a215ee: OUTPUT«Int()»
<masak> diakopter: whoa.
<masak> never seen that one.
* masak submits the Int (Str $x) one
bbkr:nom bbkr$ ./perl6 -e 'my Int (Str $x); say $x.WHAT'
Int()
Fixed; gave it a typed exception and added a test in S32-exceptions/misc.t. It does this now:
$ perl6-m -e "my Int (Str $x); say $x.WHAT"
===SORRY!=== Error while compiling -e
Str not allowed here; variable list already declared with type Int
at -e:1
------> my Int (Str $x)<HERE>; say $x.WHAT
Migrated from rt.perl.org#73102 (status was 'resolved')
Searchable as RT73102$
The text was updated successfully, but these errors were encountered: