[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 11500)
Jason Hickey
jyh at cs.caltech.edu
Tue Jul 31 15:41:17 PDT 2007
On Jul 31, 2007, at 2:42 PM, Aleksey Nogin wrote:
> Fixed a problem with static environment being wiped out by hoisting.
>
> ----
> Changes:
> +1 -1 omake-branches/0.9.8.x/src/env/omake_env.ml
This is not right, because (PathVar (v, env)) means that env is
"this" when the method was called. env and obj are different things,
so folding them together is basically nonsense. What you want to do
is restore the env, and bind v to the object that is being returned.
Jason
--
Jason Hickey http://www.cs.caltech.edu/~jyh
Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257
More information about the OMake-Devel
mailing list