mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
fix for #1011
This commit is contained in:
@@ -668,6 +668,9 @@
|
||||
fun = "(" + ref + " = " + (base.compile(o, LEVEL_LIST)) + ")" + (name.compile(o));
|
||||
} else {
|
||||
fun = base.compile(o, LEVEL_ACCESS);
|
||||
if (SIMPLENUM.test(fun)) {
|
||||
fun = "(" + fun + ")";
|
||||
}
|
||||
if (name) {
|
||||
ref = fun;
|
||||
fun += name.compile(o);
|
||||
|
||||
Reference in New Issue
Block a user