LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
This fix depends on the implicit parentheses that get added to the key
expression in a[i = 1] = 2. There may be other AST nodes that are
currently transparent to whether they are in assign position that
shouldn't be.
Fixes #1027.
This is a simple bug fix (and an important one, as it's a regression from 1.5), so I intend to merge in one week on or after April 4.
This fix depends on the implicit parentheses that get added to the key expression in
a[i = 1] = 2
. There may be other AST nodes that are currently transparent to whether they are in assign position that shouldn't be.Fixes #1027.
This is a simple bug fix (and an important one, as it's a regression from 1.5), so I intend to merge in one week on or after April 4.