# New Ticket Created by Vasily Chekalkin
# Please include the string: [perl #58642]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58642 >
Hello.
By default Range (and probably many other classes) constructed in
non-consistent state.
Minimal example:
.namespace
.sub 'main'
load_bytecode "perl6.pbc"
$P0 = new 'Range'
$P1 = clone $P0
say "done"
.end
Output:
$ ../../parrot range.pir
Null PMC access in clone()
current instr.: 'parrot;Perl6Object;!cloneattr' pc 630
(src/gen_builtins.pir:415)
called from Sub 'parrot;Range;clone' pc 4965 (src/gen_builtins.pir:3365)
called from Sub 'main' pc 5 (range.pir:5)
--
Bacek