#1694: load_bytecode semantic differs between .pir and .pbc loading
----------------------+-----------------------------------------------------
Reporter: NotFound | Owner:
Type: bug | Status: new
Priority: major | Milestone:
Component: none | Version: 2.5.0
Severity: high | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
Comment(by plobsing):
Replying to [ticket:1694 NotFound]:
> When loading the pir, either by explicitly asking or, as in this
example, because the pbc doesn't exist, the semantic changes: the subs are
inserted in the current HLL if there is no HLL directive in the loaded
file.
I've attached a small patch that puts the start of every PIR file
compilation into the default HLL. I'm not sure if this is the correct
behaviour (it does pass fulltest), but at the very least it is consistent.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1694#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets