Commit graph

6 commits

Author SHA1 Message Date
Cyrus Najmabadi ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Cyrus Najmabadi c371f1e521 Make the preservation of formatting an optional experimental compiler flag. 2015-03-08 19:06:55 -07:00
Cyrus Najmabadi 2a990a8685 Preserve newlines for conditional expressions 2015-03-07 13:50:26 -08:00
Cyrus Najmabadi 680e48f507 Preserve newlines on either side of a binary expression. 2015-03-07 12:54:12 -08:00
Cyrus Najmabadi a82289c8b4 Emit comments in a lot more places. 2015-01-22 15:58:00 -08:00
Sheetal Nandi 33cdc2f876 Type guards in || operator
•	In the right operand of a || operation, the type of a variable or parameter is narrowed by any type guard in the left operand when false, provided the right operand contains no assignments to the variable or parameter.
2014-11-06 13:04:24 -08:00