Implement field ref, set and replace operations

Bug #439171 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 currently doesn't implement the fieldref, fieldset and fieldreplace operations for type checking or interpretation (and possibly other places). It should.

Related branches

Matt Giuca (mgiuca)
Changed in mars:
milestone: none → 0.3
Revision history for this message
Matt Giuca (mgiuca) wrote :

In the interpreter, it isn't currently possible to mutate terms (see ref_eq_vals). Add an extra layer of indirection on terms (like arrays) so that they can be mutated, and also fix ref_eq_vals (bug #585724).

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

Instead of making fieldset a special pragma or something, just give it an ugly syntax. Currently it is 'e.f = v'. Change to 'e.f =! v'.

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

Deal with the fieldset notation in a separate bug (#595782).

description: updated
Matt Giuca (mgiuca)
Changed in mars:
status: Triaged → In Progress
Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1105.

Changed in mars:
status: In Progress → 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.