Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-07-31 16:36:53 -0700 (Tue, 31 Jul 2007)
Revision: 11504
Log message:

      Solves the "this diambiguation" problem (destinguishing between the "this"
     variables that came from the original environment and should stay there and the
     "this" variables that are object fields and should be hoisted). The
     implementation is probably inefficient, will try to optimize it next.
     
     P.S. test/object/Test14 still fails as there is a clash between the map
     variable and the "map" field of the Array object. A similar
     test/object/Test15, which uses "M" instead of "map" now succeeds.

Changes  Path
+43 -20 omake-branches/0.9.8.x/src/env/omake_env.ml
+1 -1 omake-branches/0.9.8.x/src/eval/omake_eval.ml
Copied omake-branches/0.9.8.x/test/object/Test15 (from rev 11503, omake-branches/0.9.8.x/test/object/Test14)
+5 -4 omake-branches/0.9.8.x/test/object/Test15 (from rev 11503, omake-branches/0.9.8.x/test/object/Test14)