mars.exec_main_func doesn't put result in localtable

Bug #600467 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mars
Fix Released
Medium
Matt Giuca

Bug Description

Mars passes the empty localtable to executor.exec_instr. This works with the interpret backend, but is invalid, as the instruction is referencing a variable which is not in the localtable. Other backends may expect it to be there (so they can figure out the variable's type, for instance).

Pass a localtable with a single entry, for the $T variable being assigned.

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1124.

Changed in mars:
status: Triaged → Fix Committed
Matt Giuca (mgiuca)
Changed in mars:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.