Anders Hejlsberg
|
9598acd477
|
Properly handle 'any' and 'never' as conditional check type
|
2018-01-15 15:31:43 -08:00 |
|
Anders Hejlsberg
|
e8d1740da8
|
Introduce substitution types to use for constrained type parameters
|
2018-01-15 11:06:18 -08:00 |
|
Anders Hejlsberg
|
5094f7677c
|
Remove 'T extends U' type constructor
|
2018-01-15 08:11:05 -08:00 |
|
Anders Hejlsberg
|
53b1572ed6
|
Revert to extends check being part of conditional type
|
2018-01-15 07:59:46 -08:00 |
|
Anders Hejlsberg
|
c10a5520e2
|
Eagerly evaluate S extends T when S is definitely or definitely not assignable to T
|
2018-01-14 14:38:48 -08:00 |
|
Anders Hejlsberg
|
bb23bb2a92
|
Propagate both TypeFlags and ObjectFlags in getSpreadType
|
2018-01-03 11:29:21 -08:00 |
|
Anders Hejlsberg
|
abc8110e9b
|
Merge branch 'master' into conditionalTypes
# Conflicts:
# src/compiler/checker.ts
|
2018-01-03 10:56:45 -08:00 |
|
Nathan Shively-Sanders
|
5539e11b76
|
Merge pull request #20609 from Microsoft/getRootSymbols
Ensure getRootSymbols always works recursively
|
2018-01-03 09:44:27 -08:00 |
|
Andy
|
74b8160430
|
In import fixes, use a ".js" extension if other imports do (#20624)
* In import fixes, use a ".js" extension if other imports do
* Code review
|
2018-01-03 08:20:53 -08:00 |
|
Wesley Wigham
|
29378b2ce2
|
Call back into getTypeOfFuncClassEnumModule in getTypeOfVariableOrParameterOrProperty if valueDeclaration is irregular kind (#20939)
|
2018-01-02 17:19:42 -08:00 |
|
csigs
|
2002d10a98
|
LEGO: check in for master to temporary branch.
|
2018-01-03 00:04:05 +00:00 |
|
Daniel Rosenwasser
|
0477f91dba
|
Merge pull request #20928 from Microsoft/initializerWithPropertyAccessUseBeforeDeclaration
Check whether we have a class before testing whether we have a super-class
|
2017-12-29 14:47:13 -08:00 |
|
Daniel Rosenwasser
|
ea94a3430d
|
Check whether we have a class before testing whether we have a super-class.
|
2017-12-29 12:30:27 -08:00 |
|
csigs
|
c2770bf26c
|
LEGO: check in for master to temporary branch.
|
2017-12-29 11:10:50 +00:00 |
|
csigs
|
cef91fcedf
|
LEGO: check in for master to temporary branch.
|
2017-12-29 05:10:04 +00:00 |
|
Wesley Wigham
|
ae211983eb
|
Add method signature handler to getTypeOfVariableOrParameterOrProperty (#20825)
|
2017-12-28 19:00:54 -08:00 |
|
Benjamin Lichtman
|
196f1c2086
|
Merge pull request #20910 from uniqueiniquity/allowDynamicNotOpenByClient
Allow dynamic files script info to be created when not opened by client
|
2017-12-28 16:37:19 -08:00 |
|
csigs
|
e8f811cde1
|
LEGO: check in for master to temporary branch.
|
2017-12-28 23:10:17 +00:00 |
|
Benjamin Lichtman
|
b9ea3471a4
|
Simplify test and add explanatory assertion
|
2017-12-28 11:22:41 -08:00 |
|
Anders Hejlsberg
|
ff4f03c51d
|
Merge pull request #20882 from Microsoft/fixNarrowTypeBySwitch
Fix narrowing of type variable in switch statement
|
2017-12-28 09:22:26 -08:00 |
|
csigs
|
4df797e5ab
|
LEGO: check in for master to temporary branch.
|
2017-12-28 17:10:06 +00:00 |
|
Benjamin Lichtman
|
90e11f0797
|
Add dynamic file open test
|
2017-12-27 13:44:51 -08:00 |
|
uniqueiniquity
|
d4dd930f2e
|
Allow dynamic files script info to be created when not opened by client
|
2017-12-27 11:12:56 -08:00 |
|
csigs
|
8a19d85bf4
|
LEGO: check in for master to temporary branch.
|
2017-12-25 17:10:15 +00:00 |
|
Anders Hejlsberg
|
5d3ecaebad
|
Fix narrowTypeBySwitchOnDiscriminant function
|
2017-12-23 19:12:49 -08:00 |
|
csigs
|
cbc034ad67
|
LEGO: check in for master to temporary branch.
|
2017-12-23 17:10:04 +00:00 |
|
csigs
|
874dc7bdde
|
LEGO: check in for master to temporary branch.
|
2017-12-23 11:10:40 +00:00 |
|
Nathan Shively-Sanders
|
2df7a89e61
|
Merge branch 'master' into limit-recursive-structured-type-resolution
|
2017-12-22 14:41:58 -08:00 |
|
Nathan Shively-Sanders
|
fb3042c3f7
|
Move recursion limiter to individual resolve* functions
|
2017-12-22 14:39:25 -08:00 |
|
Wesley Wigham
|
81fbe12c54
|
User runner submodule improvements (#20868)
* Add a reset and clean stage to submodule user tests, improve logging when errors occur
* Also force remove node_modules, update baselines
|
2017-12-22 11:41:48 -08:00 |
|
Wesley Wigham
|
cedcba9285
|
Reset partial memberlist on defered circularity to calculate the correct members (#20179)
* Reset partial memberlist on defered circularity to calculate the correct members
* Remove return type
|
2017-12-22 11:41:39 -08:00 |
|
Wesley Wigham
|
7ad0d7b9fd
|
Fix higher order inference on indexed access types (#20165)
|
2017-12-21 14:47:03 -08:00 |
|
Wesley Wigham
|
00450f029c
|
Not all extended types have symbols (#20827)
|
2017-12-21 13:07:29 -08:00 |
|
Andy
|
813864f021
|
For import completion, use an existing namespace import (#20457)
|
2017-12-21 11:16:09 -08:00 |
|
csigs
|
4e132a003f
|
LEGO: check in for master to temporary branch.
|
2017-12-21 17:10:12 +00:00 |
|
csigs
|
125b4c0c03
|
LEGO: check in for master to temporary branch.
|
2017-12-20 23:10:13 +00:00 |
|
Anders Hejlsberg
|
2143a3f439
|
Merge pull request #20814 from Microsoft/fixUnionSignatures
Fix union signatures
|
2017-12-20 09:38:53 -08:00 |
|
Andy
|
a92a594ebe
|
LanguageServiceShim.getCompletionEntryDetails: Support undefined options (#20810)
* LanguageServiceShim.getCompletionEntryDetails: Support undefined options
* Fix lint
|
2017-12-20 07:39:11 -08:00 |
|
Anders Hejlsberg
|
c78a6a5cad
|
Fix 'this' parameter handling in getUnionSignatures
|
2017-12-19 19:48:30 -08:00 |
|
Anders Hejlsberg
|
3f4911f44a
|
Fix linting error
|
2017-12-19 17:36:35 -08:00 |
|
csigs
|
f503d549b9
|
LEGO: check in for master to temporary branch.
|
2017-12-19 23:11:33 +00:00 |
|
Daniel Rosenwasser
|
ccd5608392
|
Merge pull request #20416 from JoshuaKGoldberg/tell-me-im-pretty
Prettified timestamps and error reports in --pretty
|
2017-12-19 12:59:35 -08:00 |
|
Josh Goldberg
|
b3151707df
|
Converted to enum; marked internal
|
2017-12-19 12:19:39 -08:00 |
|
Daniel Rosenwasser
|
69e091b40d
|
Merge pull request #19797 from charlespierce/implements_class_error_message
Add new error message when class implements class
|
2017-12-19 11:39:05 -08:00 |
|
Daniel Rosenwasser
|
89b5d8cb14
|
Merge pull request #19204 from Kingwl/fix-completions-with-template-literal-type
fix completions for string literal types with template string (#19162)
|
2017-12-19 11:18:21 -08:00 |
|
csigs
|
a23d38eed7
|
LEGO: check in for master to temporary branch.
|
2017-12-19 17:10:11 +00:00 |
|
Anders Hejlsberg
|
c5fd2f14f3
|
Parse xxx? as JSDoc type when not followed by token that starts type
|
2017-12-18 18:30:34 -08:00 |
|
Wesley Wigham
|
6c15fc6634
|
Fix devtools test (#20731)
* Fix devtools test
* Add small test case mimicing the issue from the user test
|
2017-12-18 14:47:45 -08:00 |
|
Andy
|
60bd262437
|
Don't treat class name as a completion list blocker if the position comes after it (#20762)
|
2017-12-18 12:41:05 -08:00 |
|
Andy
|
1562a278f8
|
Don't add completion for method if the this parameter doesn't match (#20616)
|
2017-12-18 11:28:04 -08:00 |
|