Nathan Shively-Sanders
fc3e040c51
Revert "Merge pull request #7235 from weswigham/narrow-all-types"
...
This reverts commit ef0f6c8fe4f94a7e294cfe42d7025c9dca6535d5, reversing
changes made to 9f087cb62ade7a879e23c229df752fc8f87d679c.
2016-06-02 12:57:24 -07:00
Vladimir Matveev
7e00d7e595
Merge pull request #8931 from Microsoft/tsserver-projectsystem-tests
...
initial revision of unit test support for project system in tsserver
2016-06-02 11:07:08 -07:00
Nathan Shively-Sanders
ef0f6c8fe4
Merge pull request #7235 from weswigham/narrow-all-types
...
Fix #7224 , #7441 - Replace TypeFlags.Narrowable
2016-06-02 10:01:32 -07:00
Anders Hejlsberg
706683d51b
Add regression test
2016-06-02 06:54:27 -07:00
Vladimir Matveev
92177bee91
initial revision of unit test support for project system in tsserver
2016-06-02 00:03:10 -07:00
Nathan Shively-Sanders
d111a0f733
Merge branch 'master' into narrow-all-types
2016-06-01 11:27:50 -07:00
zhengbli
630517b8ad
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
2016-05-31 15:30:42 -07:00
Anders Hejlsberg
4095602ce5
Merge pull request #8849 from Microsoft/outerControlFlows
...
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
zhengbli
58fdd011df
avoid eating all preceding empty lines
2016-05-31 14:11:39 -07:00
zhengbli
241920c960
Merge branch 'outerControlFlows' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/compiler/binder.ts
2016-05-31 14:02:45 -07:00
zhengbli
3433a7800a
Fix formatOnEnter for double newlines
2016-05-31 12:35:12 -07:00
Zhengbo Li
e93f9df955
Fix broken test
2016-05-31 10:48:25 -07:00
Zhengbo Li
5261467a32
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
2016-05-31 10:39:23 -07:00
Andy
13900aaf27
Merge pull request #8863 from Microsoft/navbar_readonly_property
...
Add tests for private and readonly parameter properties in navbar
2016-05-31 05:49:09 -07:00
zhengbli
59b188d4ca
Add navigationTo test for jsdoc typedef
2016-05-31 02:05:26 -07:00
Anders Hejlsberg
4d730a5c6a
Update test
2016-05-28 06:45:10 -07:00
Vladimir Matveev
92938cd8df
check that default clause is non-empty in reachability checks
2016-05-27 15:38:59 -07:00
Andy Hanson
f3d1b46dcb
Add tests for private and readonly parameter properties in navbar
2016-05-27 10:40:28 -07:00
Sheetal Nandi
35156527a3
Merge pull request #8789 from Microsoft/getSymbolAtAliasLocation
...
Do not resolve alias when getting symbol of import equal's right hand side
2016-05-27 09:27:23 -07:00
Andy
a1f110f932
Merge pull request #8812 from Microsoft/navbar_root
...
Always include a root node in the navigation bar.
2016-05-27 06:56:53 -07:00
Andy Hanson
b2664e7f84
Use a JSON.stringify replacer function instead of changing the value beforehand
2016-05-27 06:27:13 -07:00
Anders Hejlsberg
e5e21f9b5e
Add new tests
2016-05-26 16:26:40 -07:00
Anders Hejlsberg
d20664aa69
Fix test
2016-05-26 16:26:30 -07:00
Nathan Shively-Sanders
154729d40e
Merge pull request #8770 from Microsoft/apparent-members-for-type-parameters-constrained-by-any
...
Apparent members for type parameters constrained by any
2016-05-26 16:26:28 -07:00
zhengbli
e69976c4b7
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/services/utilities.ts
2016-05-26 14:50:09 -07:00
Mohamed Hegazy
b70d07954c
Merge pull request #8845 from Microsoft/Fix8834
...
Fix #8834 : exclude paramters and variables from flag checks
2016-05-26 14:35:50 -07:00
Nathan Shively-Sanders
0a623f8a71
Merge pull request #8822 from Microsoft/excess-property-check-numeric-indexers
...
Excess property check numeric indexers
2016-05-26 13:39:29 -07:00
Andy Hanson
63b5790dcd
Merge branch 'master' into navbar_root
2016-05-26 13:29:33 -07:00
Nathan Shively-Sanders
6304d79536
Merge pull request #8844 from Microsoft/create-symbol-for-assignments-in-javascript-constructors
...
Symbol for property assignments in Salsa/ES6 constructors
2016-05-26 13:26:48 -07:00
Mohamed Hegazy
5e49b57fea
Fix #8834 : exclude paramters and variables from flag checks
2016-05-26 13:00:38 -07:00
Nathan Shively-Sanders
abfcdd2cfd
Symbol for property assignments in Salsa/ES6 constructors
...
Previously no symbol at all was created, meaning that Salsa didn't track
properties in ES6 code.
2016-05-26 12:42:35 -07:00
Andy Hanson
fdd5c06b63
Include type aliases as childItems in navigation bar
2016-05-26 12:18:19 -07:00
Andy Hanson
fe970abc81
Change tests to use the full JSON output of the navigation bar.
...
This reduces the confusion of verify.navigationBarCount() counting duplicate items.
2016-05-26 08:40:35 -07:00
Andy
27a1e91268
Merge pull request #8814 from Microsoft/navbar_modules
...
Include modules as childItems in navigation bar
2016-05-26 07:07:02 -07:00
Andy
cd5a4439b9
Merge pull request #8811 from Microsoft/navbar_class_child_item
...
Include classes as childItems in navigation bar
2016-05-26 06:48:18 -07:00
Andy Hanson
1be09c9c57
Merge branch 'navbar_class_child_item' into navbar_modules
2016-05-26 06:23:01 -07:00
Andy Hanson
5c23b3bc20
Fix more tests
2016-05-26 06:04:42 -07:00
Nathan Shively-Sanders
42c17e194e
Address PR comments
2016-05-25 17:03:33 -07:00
Andy Hanson
1bae2c4982
Merge branch 'master' into navbar_class_child_item
2016-05-25 13:49:31 -07:00
Mohamed Hegazy
cbbc0ca8de
Merge branch 'master' into Fix8795-1
2016-05-25 12:35:58 -07:00
Nathan Shively-Sanders
5138e8be8e
Correct tests and update baselines.
...
A lot of tests used non-numeric property names for object literals that
are contextually typed only by a numeric indexer.
2016-05-25 11:37:10 -07:00
Anders Hejlsberg
6a27289b2d
Add test
2016-05-25 11:17:03 -07:00
Nathan Shively-Sanders
41db405f4c
Merge branch 'master' into excess-property-check-numeric-indexers
2016-05-25 10:56:15 -07:00
Nathan Shively-Sanders
89fb304eee
Add test case for excess checking of numeric properties
2016-05-25 10:18:49 -07:00
Nathan Shively-Sanders
642d6d5407
Only allow excess numeric properties w/numeric indexers
...
Previously, having a numeric indexer on a target type meant that excess
object property checking would allow any property. Now only numeric
properties are allowed.
2016-05-25 10:12:16 -07:00
Andy Hanson
109c05863e
Include modules as childItems in navigation bar
2016-05-25 07:49:56 -07:00
Andy Hanson
91b473389b
Include interfaces as childItems in navigation bar
2016-05-25 07:34:35 -07:00
Andy Hanson
dbd30542a6
Include classes as childItems in navigation bar
2016-05-25 07:16:23 -07:00
zhengbli
5f9fa69587
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/services/services.ts
# tests/cases/unittests/jsDocParsing.ts
2016-05-24 21:06:00 -07:00
Mohamed Hegazy
7cb2db7f9e
Fix #8795 : make properties defined in optional constructor paramters optional
2016-05-24 20:09:15 -07:00