self-compiling the existential operator

This commit is contained in:
Jeremy Ashkenas
2010-02-12 14:15:14 -05:00
parent dbcb9df22b
commit 61a7f7a567
2 changed files with 4 additions and 4 deletions

View File

@@ -410,7 +410,7 @@
temp = o.scope.free_variable();
parts[parts.length - 1] = '(' + temp + ' = ' + baseline + ')' + this.SOAK + ((baseline = temp + prop.compile(o)));
} else {
parts[parts.length - 1] = this.SOAK + (baseline += prop.compile(o));
parts[parts.length - 1] += (this.SOAK + (baseline += prop.compile(o)));
}
} else {
part = prop.compile(o);
@@ -1007,7 +1007,7 @@
__a = [this.first.compile(o), this.second.compile(o)];
first = __a[0];
second = __a[1];
if (this.first.unwrap.match(IDENTIFIER)) {
if (first.match(IDENTIFIER)) {
o.scope.find(first);
}
if (this.operator === '?=') {