Nathan Shively-Sanders
4bc4a008bb
Test spread type inference+more index signature tests
2016-10-11 16:14:47 -07:00
Nathan Shively-Sanders
1b3b35f3e0
Type inference for spread types
...
Also:
1. Fix missing spread index signatures in getTypeFromTypeLiteral
2. Spread adjacent object types during spread type creation.
2016-10-11 16:12:57 -07:00
Nathan Shively-Sanders
4ee4b6b912
Merge branch 'master' into object-spread
2016-10-11 16:06:05 -07:00
Paul van Brenk
05ec512d32
Codefixes for unused variables, properties etc.
2016-10-11 15:04:04 -07:00
Paul van Brenk
1438f9a015
Codefixes for implement interface and change extends to implements.
2016-10-11 14:09:21 -07:00
Kanchalai Tanglertsampan
d7e33c90a2
Guard localeCompare function
2016-10-11 13:51:53 -07:00
Andy Hanson
14701e3067
Respond to some PR comments
2016-10-11 13:44:20 -07:00
Zhengbo Li
2671668d86
Remove cached resolvedModule result if the target file was deleted ( #11460 )
...
* Add test first for debugging
* Remove cached resolvedModule if the file was deleted
* Move the fix to lsHost
* Properly clean lastDeletedFile
* Remove unused builder API
* move the delete file check into module name valid check
2016-10-11 13:41:04 -07:00
Andy
4fa2e5ed8c
Merge pull request #11540 from Microsoft/jsdoc_type_alias
...
Support JSDoc for type alias
2016-10-11 13:31:10 -07:00
Andy Hanson
413a26b94d
Support JSDoc for type alias
2016-10-11 11:14:15 -07:00
Anders Hejlsberg
c9e2f95918
Accept new baselines
2016-10-11 10:32:00 -07:00
Anders Hejlsberg
e9858de363
Add test
2016-10-11 10:28:13 -07:00
Anders Hejlsberg
612ed1e24a
Fix minor issue
2016-10-11 10:27:40 -07:00
Anders Hejlsberg
e6b588a956
Support parentheses and comma operator with evolving arrays
2016-10-11 10:14:06 -07:00
Andy Hanson
9385b84c62
Add "navtree" and "navtree-full" server commands
2016-10-11 08:32:37 -07:00
Bill Ticehurst
49fd35da33
Resolve export= module members
2016-10-10 22:40:03 -07:00
Zhengbo Li
3b0515fd8b
Send config file diagnonstics event even when no errors were found ( #11285 )
...
* emit config diagnostics event when no errors found
* Add tests for project service events
2016-10-10 16:38:08 -07:00
Vladimir Matveev
997acaec7a
update documentation in protocol.d.ts ( #11501 )
...
update documentation in protocol.d.ts
2016-10-10 16:04:14 -07:00
Slawomir Sadziak
8210634e8d
Fix #10758 Add compiler option to parse in strict mode
...
* fix comment
* optimize loop
2016-10-10 23:03:07 +02:00
Yui
ea56522f80
Merge pull request #11496 from Microsoft/master_port11268_fixChakraLoadDll
...
[Master] Port fix in PR#11628
2016-10-10 12:50:55 -07:00
Andy Hanson
2f77a54ea4
Implicitly consider an extensionless file in "includes" to be a recursive directory glob
2016-10-10 11:14:31 -07:00
Kanchalai Tanglertsampan
5ce22801a7
Port fix from PR#11268
2016-10-10 11:11:06 -07:00
Ryan Cavanaugh
fe32282e3a
Merge pull request #11347 from HerringtonDarkholme/remove-redundant
...
remove redundant type assertion
2016-10-10 10:58:39 -07:00
Nathan Shively-Sanders
0dd1f0c00f
Add tests and update baselines.
...
1. Union/intersection tests.
2. Primitive tests.
3. Update baselines after removing errors.
2016-10-10 10:07:41 -07:00
Nathan Shively-Sanders
4eedfea81f
Support unions/intersections in spread types
...
1. Lift unions and intersections above spread types when creating them
in getSpreadType.
2. Cleanup now-unneeded changes to existing union/intersection code.
3. Cleanup some incorrect errors I added earlier.
2016-10-10 10:05:31 -07:00
Nathan Shively-Sanders
0d3f567b0f
Merge branch 'master' into object-spread
2016-10-10 08:58:30 -07:00
Slawomir Sadziak
ea808f52fe
Fix #10758 Add compiler option to parse in strict mode
...
* add unit test to ensure "use strict" is not added twice
* fix code
2016-10-10 12:15:34 +02:00
Slawomir Sadziak
29a85e02ab
Fix #10758 Add compiler option to parse in strict mode
...
* add compiler option alwaysStrict
* compile in strict mode when option is set
* emit "use strict"
2016-10-10 00:03:33 +02:00
Anders Hejlsberg
89826a52ad
Accept new baselines
2016-10-08 15:27:57 -07:00
Anders Hejlsberg
d202b1c037
Add test
2016-10-08 15:27:49 -07:00
Anders Hejlsberg
71b9b33517
Fix issue in control flow analysis of nested loops
2016-10-08 15:26:17 -07:00
Sheetal Nandi
402f1f6bf8
Narrowed consts flow through object literal or class expression method
...
Fixes #10501
2016-10-07 17:50:05 -07:00
Sheetal Nandi
d543028226
Add test case for narrowed const in object literal and class expression method
2016-10-07 17:46:13 -07:00
Paul van Brenk
7c96c28863
Fix test failure
2016-10-07 15:55:33 -07:00
Paul van Brenk
f3103100e3
Deal with buildbreak
2016-10-07 14:13:32 -07:00
Paul van Brenk
a88ceb5597
Merge branch 'master' into pvb/codeaction/api
2016-10-07 14:02:24 -07:00
Paul van Brenk
a83a2b0de0
Codefixes in client for testing the server.
2016-10-07 13:58:53 -07:00
Paul van Brenk
77610f6e3e
rename of the response body
2016-10-07 11:18:01 -07:00
Paul van Brenk
c29e9b7e4b
PR feedback
2016-10-07 10:31:12 -07:00
Andy
d34916abf8
Merge pull request #11448 from Microsoft/fix_array_condition
...
Fix array conditional
2016-10-07 10:03:06 -07:00
Andy
e0e8cf05fb
Merge pull request #11449 from Microsoft/resolved_path
...
Inline calculation of resolvedPath
2016-10-07 10:02:54 -07:00
Nathan Shively-Sanders
df735795e5
Update baselines
2016-10-07 08:59:46 -07:00
Nathan Shively-Sanders
98720755bd
Spread type:new assignability+simplification tests
2016-10-07 08:58:50 -07:00
Nathan Shively-Sanders
d770c56874
Switch spread types to a binary representation.
...
This allows much easier creation of spread types. Spread type creation
is now much smarter, and creates object types when possible. When
it's not, it produces a spread type that simplifies its input into a
standard structure for containing type parameters.
The spread type is no longer related to union or intersection types.
Spread types containing union and intersection types are not yet
correctly handled.
2016-10-07 08:55:02 -07:00
Andy Hanson
a4f610df82
Inline calculation of resolvedPath
2016-10-07 08:41:23 -07:00
Andy Hanson
3ad50ea957
Merge branch 'master' into map4
2016-10-07 08:38:43 -07:00
Andy Hanson
13a8dc11b0
Fix array conditional
2016-10-07 08:35:13 -07:00
Andy
49a6391b4f
Merge pull request #11447 from Microsoft/visit_module_block
...
Fix tslint build
2016-10-07 08:35:02 -07:00
Nathan Shively-Sanders
cec3a3703a
Merge branch 'master' into object-spread
2016-10-07 08:34:06 -07:00
Andy Hanson
731ce345b3
Add any to allow us to cast a ModuleBlock to a Block
2016-10-07 08:24:54 -07:00