Commit graph

9 commits

Author SHA1 Message Date
Daniel Rosenwasser a391d70baa Stop using rewrites for object literal downlevel emit. 2015-02-23 17:44:48 -08:00
Cyrus Najmabadi a228cb568c Merge branch 'master' into multiLineEmit2
Conflicts:
	tests/baselines/reference/computedPropertyNames11_ES5.js
	tests/baselines/reference/computedPropertyNames1_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js
	tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js
	tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js
2015-02-21 15:00:23 -08:00
Cyrus Najmabadi 23e66303fa Update tests. 2015-02-21 14:43:45 -08:00
Cyrus Najmabadi b29fba4602 Preserve newlines and indentation for binary expressions when possible. 2015-02-20 21:53:44 -08:00
Daniel Rosenwasser 93c6ac0916 This is why we need an IO type constructor. 2015-02-20 16:54:07 -08:00
Daniel Rosenwasser 51129a704d Rewrite the tree instead of hacking text together for downlevel object literals with computed properties. 2015-02-20 14:16:09 -08:00
Daniel Rosenwasser c8691a189c Add newline before closing paren in multiline object literals. 2015-02-05 13:57:27 -08:00
Daniel Rosenwasser ddb63d286b Emit computed properties in ES3/ES5 properly. 2015-02-04 18:35:13 -08:00
Daniel Rosenwasser 657d465398 Added ES5 tests for computed properties. 2015-02-03 17:43:31 -08:00