Commit graph

13 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
Anders Hejlsberg 91e8b821ad Merge branch 'master' into exportDefault
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/contextualTyping.js.map
	tests/baselines/reference/contextualTyping.sourcemap.txt
	tests/baselines/reference/out-flag.js.map
	tests/baselines/reference/properties.js.map
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/sourceMap-FileWithComments.js.map
	tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
	tests/baselines/reference/typeResolution.js.map
2015-03-04 06:39:10 -08:00
Anders Hejlsberg daacd8005c Accepting new baselines 2015-03-03 15:27:50 -08:00
Cyrus Najmabadi ebd63c0fde Remove optimization of eliding the preamble code for functions without statements. 2015-02-25 13:32:45 -08:00
Cyrus Najmabadi 53ed427e0d Emit parameter initializers unless we are certain they don't have any side effects. 2015-02-22 18:01:57 -08:00
Cyrus Najmabadi 0fbbbffde6 Emit functions on a singline line if they were originally written on a single line. 2015-02-06 20:03:24 -08:00
Sheetal Nandi c9d16b002d Comments for module declaration 2014-08-14 06:53:37 -07:00
Sheetal Nandi 6d6f27cdce Emit comments for class and constructor 2014-08-14 06:42:18 -07:00
Sheetal Nandi 72cff32c96 Emit comments for properties 2014-08-14 06:31:00 -07:00
Sheetal Nandi 86c2f2c444 Emit comments for function and method declarations 2014-08-14 06:21:30 -07:00
Sheetal Nandi 3e95358486 Emit comments in the javascript code if --removecomments is not specified 2014-08-14 05:41:04 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00