Commit Graph

19437 Commits

Author SHA1 Message Date
Sheetal Nandi aa74fa1076 Fix UnparsedPrologue kind 2019-01-31 10:17:14 -08:00
Sheetal Nandi d1f3aca2d0 Test case when final project isnt composite project 2019-01-30 17:57:44 -08:00
Sheetal Nandi bb76259e7a More logs verification 2019-01-30 14:52:04 -08:00
Sheetal Nandi 315a4dd226 Merge branch 'master' into prependWithBundleInfo 2019-01-30 13:38:28 -08:00
Sheetal Nandi 26e546aeaa Merge pull request #29626 from Microsoft/toLowerCase
Handle get from readFileCache correctly.
2019-01-30 13:10:40 -08:00
Sheetal Nandi 55b8e4fd29 Handle "" correctly when cacheing file text 2019-01-30 12:32:08 -08:00
Sheetal Nandi 0d9cf96e74 Make the bundle info into buildInfo 2019-01-30 10:07:29 -08:00
Sheetal Nandi 00873f66c8 Make file generic to be .tsbuildinfo 2019-01-30 09:41:43 -08:00
Sheetal Nandi c8ff9ace0e Merge branch 'master' into prependWithBundleInfo 2019-01-30 09:25:51 -08:00
Ron Buckton ae6c9cd051 Merge pull request #28489 from ajafff/shebang-comments
fix comment parsing at start of file
2019-01-29 17:45:13 -08:00
Ryan Cavanaugh 0df89cc96f Merge pull request #26941 from jack-williams/narrow-unknown-with-triple-equals
Fix #25172: Add narrowing for `unknown` with triple equals
2019-01-29 16:43:50 -08:00
Sheetal Nandi 717dad9ebf Dont use tsbundleInfo to determine if bundle needs to be rebuilt 2019-01-29 15:29:12 -08:00
Sheetal Nandi 36ae7be415 Create tests when bundleInfo file is not present 2019-01-29 15:13:26 -08:00
Sheetal Nandi 9dabe69c84 Dont assert but verify sourceMapGenerator 2019-01-29 14:44:00 -08:00
Sheetal Nandi d5b5f8d289 Handle --clean with .tsbuildinfo 2019-01-29 13:58:47 -08:00
Sheetal Nandi 0aaa880197 Use bundle info to store info about prologues, emit Helpers, references etc 2019-01-29 10:51:22 -08:00
Anders Hejlsberg 332468441e Fix lint error 2019-01-28 16:30:49 -08:00
Anders Hejlsberg ff42c3d198 Handle readonly arrays and tuples in decorator metadata serialization 2019-01-28 16:09:55 -08:00
Anders Hejlsberg 151fac913c Merge branch 'master' into readonlyArrayTuple 2019-01-28 15:53:24 -08:00
Anders Hejlsberg e727845029 Higher complexity limit for unions of primitives only 2019-01-28 13:58:15 -08:00
Anders Hejlsberg ea3814676d Error on union types that are too complex to represent 2019-01-28 13:11:04 -08:00
Daniel Rosenwasser c899c2ee00 Bump version to 3.4. 2019-01-28 12:36:24 -08:00
Sheetal Nandi 604af5c621 Handle get from readFileCache correctly.
Fixes #29623
2019-01-28 12:30:05 -08:00
Anders Hejlsberg 4335f4462c Tuples are known to be covaraint 2019-01-28 08:58:18 -08:00
Klaus Meinhardt 451ff29263 revert change of trailing comment parsing 2019-01-27 17:41:20 +01:00
Klaus Meinhardt 68133e5fad Merge branch 'master' into shebang-comments 2019-01-27 17:37:10 +01:00
Anders Hejlsberg 4706a060a5 Merge branch 'master' into readonlyArrayTuple 2019-01-26 14:44:15 -08:00
Sheetal Nandi fa74cef81e Merge pull request #29591 from Microsoft/removeUnnecessaryDeclarations
Do not generate dts files for tsc/tsserver and such when we do not use it at all.
2019-01-25 15:51:13 -08:00
Wesley Wigham 4da9d8bc87 Include index signatures of the source in mapped type template target inferences (#29253) 2019-01-25 15:22:35 -08:00
Wesley Wigham 5f782bf58a Fixup restrictive instantiations to actually erase type parameter constraints (#29592) 2019-01-25 15:18:07 -08:00
Sheetal Nandi ff027d41c9 Handle triple slash refs 2019-01-25 14:31:41 -08:00
Sheetal Nandi 36eae04120 Handle emit helpers in --out scenario 2019-01-25 14:31:40 -08:00
Sheetal Nandi c739defe25 Handle prologues in prepend outputs 2019-01-25 14:31:40 -08:00
Sheetal Nandi a90ff10d8a Tests for multiple prologues 2019-01-25 14:31:39 -08:00
Sheetal Nandi 6e5770928f Handle shebang when using prepend nodes 2019-01-25 14:31:39 -08:00
Sheetal Nandi 607891b78e Generate readable source map baselines for -b --out scenario 2019-01-25 14:31:39 -08:00
Sheetal Nandi edfc91a6a0 Write testcase to baseline with strict, prologues, shebangs 2019-01-25 14:31:38 -08:00
Sheetal Nandi e51a2fe80d Skip declaration emit for files that are just executables 2019-01-25 14:24:35 -08:00
Ron Buckton bd8c6259b9 Merge pull request #29422 from Microsoft/fix29006
Fix crash in getTextOfPropertyName
2019-01-25 14:08:35 -08:00
Jack Williams 6f30537d13 Simplify type flag check 2019-01-25 09:41:35 +00:00
Jack Williams 36cc154985 Narrow to any primitive or object and update tests 2019-01-25 09:41:34 +00:00
Jack Williams 267e5989cd Add narrowing for unknown with strict equal 2019-01-25 09:41:34 +00:00
Ron Buckton 469ab3fdd0 Merge branch 'master' into fix29006 2019-01-24 16:50:50 -08:00
Sheetal Nandi 1b12a855e8 Merge branch 'master' into inputFiles 2019-01-24 15:44:45 -08:00
Wesley Wigham 0ddcab3469 Fix master: handle generating type name for late bound dupe message more nicely (#29572)
* Fix master: handle generating type name for late bound dupe message more nicely

* Make literal type casts more specific in many places to better reflect the checks performed
2019-01-24 15:37:13 -08:00
Sheetal Nandi ec817f55f3 Fix unnecessary union 2019-01-24 15:27:39 -08:00
Ryan Cavanaugh c779fc7998 Merge pull request #28034 from disisisid/master
Typo fix in src/lib/README.md
2019-01-24 14:45:31 -08:00
Ryan Cavanaugh 1a742e6f27 Merge pull request #27918 from collin5/b27914
Improve error message for duplicate property with computed name
2019-01-24 14:35:51 -08:00
Sheetal Nandi 399f987918 Add todos for sourcemap that accidently got reverted. 2019-01-24 13:54:45 -08:00
Sheetal Nandi 216ed1b385 Get dts content from sourceFile if present 2019-01-24 13:47:27 -08:00