[perl #60054] [BUG] PGE/Util.pir has unresolved dependencies.
# New Ticket Created by Will Coleda # Please include the string: [perl #60054] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60054 $ cat foo.pir .sub asdf :main load_bytecode 'PGE/Util.pbc' .end $ ./parrot foo.pir Class 'P6metaclass' not found current instr.: 'parrot;PGE;Util;__onload' pc 0 (runtime/parrot/library/PGE/Util.pir:20) called from Sub 'asdf' pc 0 (foo.pir:2) The perldoc for this library doesn't mention having to import anything else to use it. We need to either update the docs or the code. -- Will Coke Coleda
Re: [perl #60054] [BUG] PGE/Util.pir has unresolved dependencies.
On Wed, Oct 22, 2008 at 12:52 PM, via RT Will Coleda [EMAIL PROTECTED] wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #60054] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60054 $ cat foo.pir .sub asdf :main load_bytecode 'PGE/Util.pbc' .end $ ./parrot foo.pir Class 'P6metaclass' not found current instr.: 'parrot;PGE;Util;__onload' pc 0 (runtime/parrot/library/PGE/Util.pir:20) called from Sub 'asdf' pc 0 (foo.pir:2) The perldoc for this library doesn't mention having to import anything else to use it. We need to either update the docs or the code. It would also be nice if there was a workaround for this for partcl to use against the 0.8.0 release. (Just adding a load_bytecode of the P6object isn't sufficient, you get a different exception) -- Will Coke Coleda
Re: [perl #60054] [BUG] PGE/Util.pir has unresolved dependencies.
On Wed, Oct 22, 2008 at 1:14 PM, Will Coleda [EMAIL PROTECTED] wrote: On Wed, Oct 22, 2008 at 12:52 PM, via RT Will Coleda [EMAIL PROTECTED] wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #60054] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60054 $ cat foo.pir .sub asdf :main load_bytecode 'PGE/Util.pbc' .end $ ./parrot foo.pir Class 'P6metaclass' not found current instr.: 'parrot;PGE;Util;__onload' pc 0 (runtime/parrot/library/PGE/Util.pir:20) called from Sub 'asdf' pc 0 (foo.pir:2) The perldoc for this library doesn't mention having to import anything else to use it. We need to either update the docs or the code. It would also be nice if there was a workaround for this for partcl to use against the 0.8.0 release. (Just adding a load_bytecode of the P6object isn't sufficient, you get a different exception) -- Will Coke Coleda Per pmichaud on #parrot, this works[0] .sub asdf :main load_bytecode 'PGE.pbc' load_bytecode 'PGE/Util.pbc' .end Resolving ticket... [0] partcl already does this, but: 13:15 @DietCoke fair enough. I was trying to debug a much larger issue with tcl, and was breaking it down into chunks. I was surprised this chunk didn't work. -- Will Coke Coleda