Commit graph

8 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 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 5fc2ec701b Merge branch 'master' into thanksLua
Conflicts:
	src/compiler/emitter.ts
	tests/baselines/reference/FunctionPropertyAssignments5_es6.js
	tests/baselines/reference/computedPropertyNames9_ES6.js
	tests/baselines/reference/computedPropertyNamesDeclarationEmit3.js
	tests/baselines/reference/computedPropertyNamesDeclarationEmit4.js
	tests/baselines/reference/parserES5ComputedPropertyName3.js
	tests/baselines/reference/parserES5ComputedPropertyName4.js
2015-02-17 17:43:06 -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