Projects

Ticket #180 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

-[MacRuby evaluateFileAtPath:] doesn't set __FILE__

Reported by: dognotdog@… Owned by: lsansonetti@…
Priority: critical Milestone: MacRuby 0.4
Component: MacRuby Keywords: __FILE__ evaluateFileAtPath
Cc:

Description

-evaluateFileAtPath: just calls -evaluateString:, therefore an embedded VM doesn't know about the source file. This is pretty unhelpful for debugging and tasks that do depend on the executed file's location.

trunk/ r766

Change History

Changed 3 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.4

Fixed in r826/trunk, thanks for reporting.

Note: See TracTickets for help on using tickets.