rfindler/395-2012 — pull request #5 by dhirshko (2012-11-09 21:23:00+00:00)
Title: Setters and Getters

Here's the getter and setter rules. I added a couple of test cases for setters (using object update and print as side-effects).

Also, I looked in the ECMA spec, and the current rules are missing the cases where property access is attempted for an undefined getter or setter (get/set pair where we have "nofun").

e.g. the program {set "x" (y) {print(y)}["x"] should return undefined, but instead gets stuck.

I'll add those rules tomorrow or later today.