[perl #123037] [BUG] Typed array contains (Any) type objects when assigning past the end of the array in Rakudo

2015-09-13 Thread Christian Bartolomaeus via RT
On Thu Oct 23 04:51:47 2014, masak wrote: > m: my Int @a; @a[4]++; say @a[0]; say @a > rakudo-moar 315ec6: OUTPUT«(Int)␤(Any) (Any) (Any) (Any) 1␤» > Is that *supposed* to say "(Any)" there? > no, (Int) > * masak submits rakudobug Actually, the typed array seems to contain (Int) type objects -

[perl #123037] [BUG] Typed array contains (Any) type objects when assigning past the end of the array in Rakudo

2014-10-23 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #123037] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=123037 > m: my Int @a; @a[4]++; say @a[0]; say @a rakudo-moar 315ec6: OUTPUT«(Int)␤(Any) (Any) (

[perl #73390] [BUG] Any type of package should be disallowed inside a role in Rakudo

2010-03-07 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #73390] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=73390 > rakudo: role A { class B {} } * masak submits rakudobug jnthn++ expected the above to

Re: any type

2002-11-29 Thread Robin Berjon
Tanton Gibbs wrote: Has there been any discussion about having an "any" type. I realize that this can be accomplished with an untyped variable, but there may be a reason not to do that. Namely, there most probably will be some sort of pragma like "use strict 'type'

any type

2002-11-29 Thread Tanton Gibbs
Has there been any discussion about having an "any" type. Something such as: my any $x = "Hello"; $x = 17.3; $x = Foo.new; I realize that this can be accomplished with an untyped variable, but there may be a reason not to do that. Namely, there most probably will be some