mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
self-compiling the existential operator
This commit is contained in:
@@ -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 === '?=') {
|
||||
|
||||
Reference in New Issue
Block a user