[macruby-changes] [2497] MacRuby/trunk/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 5 22:17:50 PDT 2009
Revision: 2497
http://trac.macosforge.org/projects/ruby/changeset/2497
Author: lsansonetti at apple.com
Date: 2009-09-05 22:17:45 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
fixed a bug in the way we set constants inside #instance_eval
Modified Paths:
--------------
MacRuby/trunk/compiler.cpp
Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp 2009-09-05 19:42:47 UTC (rev 2496)
+++ MacRuby/trunk/compiler.cpp 2009-09-06 05:17:45 UTC (rev 2497)
@@ -1211,7 +1211,7 @@
}
std::vector<Value *> params;
- bool outer = false;
+ bool outer = true;
if (node->nd_vid > 0) {
params.push_back(compile_current_class());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090905/e94959be/attachment-0001.html>
More information about the macruby-changes
mailing list