Commit graph

23353 commits

Author SHA1 Message Date
Nathan Shively-Sanders e27fb0651b
Fix crash in recursive declared type resolution (#23950)
When one type has a type parameter with a default
2018-05-09 09:25:00 -07:00
Ron Buckton b31968a598
Merge pull request #23982 from Microsoft/reduceVfsCaughtExceptions
Reduce number of 'caught exceptions' raised by vfs
2018-05-09 09:23:23 -07:00
Andy 7fb7eecf2c
Add telemetry for open JS files (#23833)
* Add telemetry for open JS files

* Send event every time

* Keep stats even for closed files

* Remove tsCheckCountForOpenFilesTelemetry

* Use 'info.path'

* Update API
2018-05-09 07:51:46 -07:00
Zen 91a15dc609 improve performance 2018-05-09 22:42:44 +08:00
王文璐 8414a962ba update all reference in constructor 2018-05-09 18:41:46 +08:00
csigs fe7c82435c
LEGO: Merge pull request 23991
LEGO: Merge pull request 23991
2018-05-09 03:10:49 -07:00
csigs 7bcbe7c193 LEGO: check in for master to temporary branch. 2018-05-09 10:10:29 +00:00
Paul Koerbitz 89d2baede7 Adress review comments 2018-05-09 10:53:27 +02:00
Ron Buckton f17bf54bfe
Merge pull request #23887 from agentcooper/async-generator-resolve-promise
Resolve promise inside async generator
2018-05-09 00:23:47 -07:00
Artem Tyurin d88210b270 Do not check for await expression and always output yield await 2018-05-09 09:09:49 +02:00
Mohamed Hegazy 030b8fc8a6
Merge pull request #23976 from ialexryan/patch-3
Fix comment typo in program.ts
2018-05-08 22:08:56 -07:00
csigs ff396c38d6
LEGO: Merge pull request 23987
LEGO: Merge pull request 23987
2018-05-08 21:10:44 -07:00
csigs 67ebb6c751 LEGO: check in for master to temporary branch. 2018-05-09 04:10:24 +00:00
Wesley Wigham cb42086bab
Fix RWC tsconfig and lib paths (#23979)
* Fix RWC tsconfig paths

* Fix lints

* move helper from utils into vpath
2018-05-08 17:07:54 -07:00
Wesley Wigham 1d7dc6aeb8
Accept typo fix (#23983) 2018-05-08 15:49:35 -07:00
Andy 01ae7f1798
Rename test (#23978) 2018-05-08 15:07:55 -07:00
Ron Buckton ea953b5dd0 Reduce number of 'caught exceptions' raised by vfs 2018-05-08 15:05:11 -07:00
Mohamed Hegazy 80d168dde6
Merge pull request #23980 from ialexryan/patch-2
Fix comment typo in types.ts
2018-05-08 15:00:38 -07:00
Mohamed Hegazy 88e8526dfe
Merge pull request #23981 from ialexryan/patch-4
Fix comment typos in utilities.ts
2018-05-08 15:00:23 -07:00
Alex Ryan 4cc345e4e0
Fix comment typos in utilities.ts 2018-05-08 14:58:18 -07:00
Alex Ryan f9bd3afb8f
Fix comment typo in types.ts 2018-05-08 14:51:49 -07:00
Mohamed Hegazy b85ecd2e20
Merge pull request #23975 from ialexryan/patch-2
Fix comment typo in resolutionCache.ts
2018-05-08 14:36:41 -07:00
Alex Ryan 01351d43e4
Fix comment typo in program.ts 2018-05-08 14:36:32 -07:00
Alex Ryan 4fb2add9a1
Fix comment typo in resolutionCache.ts
Another comment-only fix.
2018-05-08 14:27:40 -07:00
Mohamed Hegazy 5719c8d699
Merge pull request #23974 from ialexryan/patch-1
Fix typo in parser.ts
2018-05-08 14:26:25 -07:00
Alex Ryan 211b09b46c
Fix typo in parser.ts 2018-05-08 14:20:26 -07:00
Andy 5725428f2d
fixUnusedIdentifier: Handle destructure with all bindings unused (#23805)
* fixUnusedIdentifier: Handle destructure with all bindings unused

* Add parameters test

* Add test for 'for' loop
2018-05-08 13:33:55 -07:00
Ron Buckton f09c350471 Batch enumerateFiles for multiple configurations into a single web request 2018-05-08 13:18:38 -07:00
Wesley Wigham 556c316fed
Make new harness fake host more performant in large complications (#23951)
* Make new harness fake host more performant in large complications

* Use sortedmap
2018-05-08 12:46:33 -07:00
Sheetal Nandi 12790e8d83
Merge pull request #23910 from Microsoft/moduleUpdates
Support invalidating resolutions that are path mapped into sibling folder of root
2018-05-08 12:41:11 -07:00
Anders Hejlsberg 40e0ab72d2
Merge pull request #23966 from Microsoft/fixIndexedAccessAnyConstraint
Fix indexed access with 'any' constraint
2018-05-08 12:21:00 -07:00
Mohamed Hegazy 27550d3013
Merge pull request #23925 from rhysd/fix-npm-default-location-detection
Check detected default npm path is really existing
2018-05-08 11:33:30 -07:00
Andy ccfd3bf603
Handle BindingElement in fixUnusedIdentifier (#23819)
* Handle BindingElement in fixUnusedIdentifier

* Add array destructure tests
2018-05-08 11:23:01 -07:00
Wesley Wigham 8ab5be9a86
Add hook for adding transforms into the declaration emit pipeline after the main one (#23946)
* Add hook for adding transforms into the declaration emit pipeline after the main one

* Fix lint
2018-05-08 11:20:48 -07:00
Andy ddf20ecd6d
Support '.' as a trigger character (#23890)
* Support '.' as a trigger character

* Add a CompletionsTriggerCharacter type

* Add more trigger characters

* Add another type CompletionsTriggerCharacter

* Update API baselines
2018-05-08 09:52:46 -07:00
Ryan Cavanaugh f35a20e29e
Merge pull request #23944 from RyanCavanaugh/projRefs
Project References Core Support
2018-05-09 04:45:38 +12:00
Anders Hejlsberg 14e3e39237 Accept new baselines 2018-05-08 09:42:26 -07:00
Anders Hejlsberg 238177657f Add regression test 2018-05-08 09:42:21 -07:00
Anders Hejlsberg ce6fd5eeaa Exception for 'any' constraint only applies to type parameters 2018-05-08 09:42:03 -07:00
csigs 5d8f1d99fe
LEGO: Merge pull request 23965
LEGO: Merge pull request 23965
2018-05-08 09:10:48 -07:00
csigs a930b571f9 LEGO: check in for master to temporary branch. 2018-05-08 16:10:28 +00:00
csigs 5e1330e665
LEGO: Merge pull request 23962
LEGO: Merge pull request 23962
2018-05-08 03:11:00 -07:00
csigs ec974a599a LEGO: check in for master to temporary branch. 2018-05-08 10:10:40 +00:00
Artem Tyurin 4d37c44b92 Apply transformation to await expression 2018-05-08 08:21:08 +02:00
Paul Koerbitz 5b846856c2 Accept baselines for new import call expression error in ES2015 2018-05-08 07:51:29 +02:00
Paul Koerbitz ba360cfc4f Make error message for dynamic imports when module is ES2015 more helpful 2018-05-08 07:45:48 +02:00
王文璐 88bf9277ff add support for readonly modifier 2018-05-08 12:26:34 +08:00
csigs beb7fd884f
LEGO: Merge pull request 23953
LEGO: Merge pull request 23953
2018-05-07 21:10:54 -07:00
csigs 7b888906f7 LEGO: check in for master to temporary branch. 2018-05-08 04:10:32 +00:00
Andy 123ae530a7
convertToEs6Module: Replace 'module.exports =' with 'export default' without replacing nodes (#23948) 2018-05-07 15:45:43 -07:00