Ticket #1968 (closed bug: noreply)

Opened 11 years ago

Last modified 10 years ago

Loading of nqp-setting breaks rakudo.

Reported by: bacek Owned by: pmichaud
Priority: normal Milestone:
Component: nqp Version: master
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

Hello.

Output of first snippet is correct. Second one is totally wrong.

<bacek> rakudo: ("a", ("^" if Bool::False), "b").join("").say;
<p6eval> rakudo d5b9d9: OUTPUT«ab␤»
<bacek> rakudo: pir::load_bytecode("nqp-setting.pbc"); ("a", ("^" if Bool::False), "b").join("").say;
<p6eval> rakudo d5b9d9: OUTPUT«aNil()b␤»

Apparently is affects nqp_pct branch and future implementation of PIRATE.

-- Bacek

Change History

Changed 11 years ago by jkeenan

  • summary changed from Loading of nqp-setting brakes rakudo. to Loading of nqp-setting breaks rakudo.

Changed 11 years ago by pmichaud

I think it's very likely that the problem here is related to TT #1542, in which load_bytecode modules are leaking into other HLL namespaces.

Pm

Changed 10 years ago by pmichaud

  • status changed from new to closed
  • resolution set to noreply

Marking ticket as closed -- rakudo and nqp have radically changed since this ticket was filed and likely no longer have the described issue. If they do, feel free to file a new Rakudo or Parrot ticket.

Thanks!

Pm

Note: See TracTickets for help on using tickets.