Re: [perl #126891] [BUG] module objects badly behaved for type checks

2015-12-16 Thread Zefram
Elizabeth Mattijsen via RT wrote: >This seems to apply to any variable type and any PseudoStash: Further generalisation: it also happens for any package object (GLOBAL, MAIN) and any role object (Iterable, Dateish). In both cases, the .^isa misbehaviour is seen as well as the actual ability to by

Re: [perl #126891] [BUG] module objects badly behaved for type checks

2015-12-13 Thread Elizabeth Mattijsen
Zefram, > On 13 Dec 2015, at 05:56, Zefram (via RT) > wrote: > > # New Ticket Created by Zefram > # Please include the string: [perl #126891] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=126891 > > > >> my Int $a = C

[perl #126891] [BUG] module objects badly behaved for type checks

2015-12-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126891] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126891 > > my Int $a = CORE > $a.WHAT.say (CORE) > CORE.^isa(Int) Cannot call isa(Perl6::Metamodel::Modu