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 -
# 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) (
# 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
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'
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