Commit graph

4 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 91b97009f0 Modifying tests and accepting new baselines 2014-11-14 10:42:31 -08:00
Sheetal Nandi 2088a89223 Test cases to make sure typeguard is defeated in case of function calls
From spec:
Also note that it is possible to defeat a type guard by calling a function that changes the type of the guarded variable.
2014-11-06 13:04:11 -08:00