The world disappears between the two evaluations! And this is
unrelated to 2012 mayan astrology.

Relevant part of the trace.

5d5f set P2, P1["World"]
P2=PMCNULL P1=Hash=PMC(0x7f926677dc00)  (src/stage2/gen/NQP.pm:487)
...
5d7c callmethodcc P2, "new"
P2=PMCNULL  (src/stage2/gen/NQP.pm:487)



More complete trace for the search of NQP::World


5d55 get_hll_global P28, "GLOBAL"
  P28=PMCNULL  (src/stage2/gen/NQP.pm:487)
5d58 nqp_get_package_through_who P0, P28, "NQP" P0=PMCNULL
P28=GLOBALish=PMC(0x7f92652d9590)  (src/stage2/gen/NQP.pm:487)
5d5c get_who P1, P0                                        P1=PMCNULL
P0=NQP=PMC(0x7f926677dca0) (src/stage2/gen/NQP.pm:487)
5d5f set P2, P1["World"]
P2=PMCNULL P1=Hash=PMC(0x7f926677dc00)  (src/stage2/gen/NQP.pm:487)
5d63 set P3, P35                                        P3=PMCNULL
P35=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C")
(src/stage2/gen/NQP.pm:487)
5d66 unless_null P3, 6
P3=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C")
(src/stage2/gen/NQP.pm:487)
5d6c set P4, P34                                        P4=PMCNULL
P34=PMCNULL (src/stage2/gen/NQP.pm:487)
5d6f unless_null P4, 6
P4=PMCNULL  (src/stage2/gen/NQP.pm:487)
5d72 new P4, "Undef"                                        P4=PMCNULL
 (src/stage2/gen/NQP.pm:487)
5d75 set_args PC54 (5), P2, "handle", P3, "description",
P4      PC54=FixedIntegerArray=PMC(0x7f9263913f80) P2=PMCNULL
P3=String=PMC(0x7f92667e2010 Str:"67C0187A91F4EFF6565C")
P4=Undef=PMC(0x7f92667b2420) (src/stage2/gen/NQP.pm:487)
5d7c callmethodcc P2, "new"
P2=PMCNULL  (src/stage2/gen/NQP.pm:487)
# Back in sub 'nqp;HLL;Compiler;_block1731
Null PMC access in find_method('new')


-- 
cognominal stef

Reply via email to