Ticket #1007 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

load_language creates wrong search paths

Reported by: fperrad Owned by:
Priority: normal Milestone:
Component: core Version: 1.5.0
Severity: medium Keywords:
Cc: Language:
Patch status: applied Platform: all

Description

The opcode load_language adds some search paths.

There are wrong because Parrot_str_substr doesn't work with negative offset.

The attached patch is just a workaround.

Attachments

packfile.patch Download (0.8 KB) - added by fperrad 5 years ago.
Just a workaround

Change History

Changed 5 years ago by fperrad

Just a workaround

Changed 5 years ago by fperrad

add a TODO test in PIR, see r41319

Changed 5 years ago by NotFound

  • status changed from new to closed
  • resolution set to fixed
  • patch set to applied

After some discussion on irc we concluded that negative offset for substr is not planned. Committed the patch in r41324, reverted r41319 in r41325.

Note: See TracTickets for help on using tickets.