22666 Commits

Author SHA1 Message Date
Anders Hejlsberg
b38e42e41e Accept new baselines 2018-04-20 09:56:07 -07:00
Anders Hejlsberg
eb7bbfb28e Properties with numeric names have numeric literal types in keyof T 2018-04-20 09:55:59 -07:00
Anders Hejlsberg
5f0d88096c Update test 2018-04-18 15:43:32 -07:00
Anders Hejlsberg
9e4e215a03 Revise IndexType to have stringsOnly property 2018-04-18 15:43:22 -07:00
Anders Hejlsberg
254782c06f Accept new baselines 2018-04-18 11:01:25 -07:00
Anders Hejlsberg
b14d389085 For 'T extends { [x: string]: XXX }' constraint of T[keyof T] is XXX 2018-04-18 11:01:09 -07:00
Anders Hejlsberg
02534cca31 Accept new baselines 2018-04-17 16:29:49 -07:00
Anders Hejlsberg
b11be80349 Don't widen unique symbol types during type inference 2018-04-17 16:29:42 -07:00
Anders Hejlsberg
16cd5580a6 Merge branch 'master' into improveIndexTypes
# Conflicts:
#	src/compiler/checker.ts
#	src/server/utilities.ts
2018-04-16 16:18:29 -07:00
Andy
cae464058a
Delete "delete me" files (#23446) 2018-04-16 15:29:02 -07:00
csigs
2558839e91
LEGO: Merge pull request 23447
LEGO: Merge pull request 23447
2018-04-16 15:11:29 -07:00
csigs
1bafc49da0 LEGO: check in for master to temporary branch. 2018-04-16 22:11:09 +00:00
Ryan Cavanaugh
127dda442e
Merge pull request #23443 from Microsoft/fixGulpfile
Convert gulp processDiagnostics builder to project compilation
2018-04-16 15:09:35 -07:00
Ryan Cavanaugh
5ce6b6a2ae Convert gulp processDiagnostics builder to project compilation 2018-04-16 13:53:30 -07:00
Andy
aac9ef5e51
convertToEs6Module: Avoid replacing entire function (#22507)
* convertToEs6Module: Avoid replacing entire function

* Code review

* Fix typo
2018-04-16 13:16:04 -07:00
Mohamed Hegazy
a8618a79e1
Merge pull request #23358 from joscha/joscha/fix-non-imports-matching
fix: do not match MySymbol.import("mod")
2018-04-16 12:37:53 -07:00
Mohamed Hegazy
f0057f9a33
Remove condition 2018-04-16 11:48:04 -07:00
Andy
cc6bc763bc
Simplify getConvertibleFieldAtPosition (#23315) 2018-04-16 09:30:10 -07:00
csigs
3c92344fcc
LEGO: Merge pull request 23428
LEGO: Merge pull request 23428
2018-04-16 09:11:04 -07:00
csigs
f5b7826c1f LEGO: check in for master to temporary branch. 2018-04-16 16:10:41 +00:00
Andy
a297a28fd5
Use getPossibleSymbolReferenceNodes in one more place (#23378) 2018-04-16 08:27:25 -07:00
Anders Hejlsberg
8cb515ab13 Add members for numeric and symbol named properties in mapped types 2018-04-16 07:16:26 -07:00
Anders Hejlsberg
6c60f7e243 Accept new baselines 2018-04-14 17:16:07 -10:00
Anders Hejlsberg
c344e6d0ba Fixes and improvements to indexed access type relationships 2018-04-14 17:10:05 -10:00
Joscha Feth
a3311edb4a revert change 2018-04-15 11:30:37 +10:00
Joscha Feth
4dc9db1e70 detect nested non-imports 2018-04-15 11:27:51 +10:00
Joscha Feth
c64c1c9395 fix up 2018-04-15 03:30:47 +10:00
Joscha Feth
f4fa2eb28e
undefined instead of null 2018-04-15 01:51:01 +10:00
Joscha Feth
02b8160b41 store lastToken 2018-04-15 01:23:27 +10:00
csigs
23ed9f8423
LEGO: Merge pull request 23401
LEGO: Merge pull request 23401
2018-04-13 15:11:08 -07:00
csigs
ef772d5e68 LEGO: check in for master to temporary branch. 2018-04-13 22:10:41 +00:00
Joscha Feth
ee429ef2ea use state 2018-04-13 11:39:29 +10:00
Ryan Cavanaugh
7631ad03a3
Merge pull request #23386 from Microsoft/fix-jakefile-case-and-reference-circularity
Fix jakefile case and circular references
2018-04-12 17:01:49 -07:00
Nathan Shively-Sanders
32c571374e Update tsserverlibrary.d.ts after missed baseline 2018-04-12 16:26:37 -07:00
Nathan Shively-Sanders
7b712160e0 Re-add fixName to tsserverlibrary.d.ts 2018-04-12 16:20:04 -07:00
Nathan Shively-Sanders
a0b08f31f9 Fix jakefile case and circular references
Fails on Linux but not on Windows. Weird!
2018-04-12 16:11:16 -07:00
Sheetal Nandi
a9ffabbe51
Merge pull request #23374 from Microsoft/npmInstallCommandTooLong
Handle command too long failure in typings installer
2018-04-12 14:17:47 -07:00
Nathan Shively-Sanders
941777848f
Switch webpack to submodule (#23372)
* Prepare for adding webpack submodule

* Actually switch webpack to submodule

I'm sure this will work with no problems!

* Add ignore=all to webpack gitmodule entry

The other submodules do this, although I'm not sure why.

* Add newline at end of .gitmodules
2018-04-12 14:09:07 -07:00
Ryan Cavanaugh
0ef0b7adea
Merge pull request #23354 from RyanCavanaugh/referencesDogfood_1
Project references transitional: Remove reference comments
2018-04-12 13:56:47 -07:00
Ryan Cavanaugh
8e36afa5bd Remove reference emit from diagnostics 2018-04-12 12:41:00 -07:00
Ryan Cavanaugh
bbcf00c040 Remove ref comments from processDiagnosticMessages 2018-04-12 12:35:56 -07:00
Ryan Cavanaugh
ff60520460 Merge branch 'master' into referencesDogfood_1 2018-04-12 12:26:10 -07:00
Ryan Cavanaugh
f24d57f1ac Update diagnostic tasks in jakefile 2018-04-12 12:20:27 -07:00
Andy
abbb79f972
Combine getTouchingWord and getTouchingPropertyName (#22127) 2018-04-12 11:56:40 -07:00
Andy
afcced6839
Simplify tryGetImportOrExportClauseCompletionSymbols (#22961)
* Simplify tryGetImportOrExportClauseCompletionSymbols

* Handle undefined key in arrayToSet
2018-04-12 11:55:21 -07:00
Andy
d2dc2e6d48
Don't copy trivia when implementing an interface (#23343)
* Don't copy trivia when implementing an interface

* Use an `includeTrivia` flag instead of a separate function
2018-04-12 11:47:42 -07:00
Sheetal Nandi
b3d83c81cc Handle command too long failure in typings installer 2018-04-12 11:43:18 -07:00
Andy
05c746b547
generateGetAccessorAndSetAccessor: Share modifier-creating code (#23311) 2018-04-12 11:13:25 -07:00
Nathan Shively-Sanders
5d23cb49d0
Exclude generated files from user tests (#23371)
* Exclude generated files from user tests

The top 3 offenders, at least: bcryptjs, bluebird and lodash.

* Clean url-search-params too

Only need to build the commonjs original, not the browserified ones.
2018-04-12 10:25:53 -07:00
Andy
b363240d05
Simplify registerCodeFIx (#23349) 2018-04-12 09:19:01 -07:00