3934 Commits

Author SHA1 Message Date
zhengbli
3433a7800a Fix formatOnEnter for double newlines 2016-05-31 12:35:12 -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
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
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
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
Mohamed Hegazy
7cb2db7f9e Fix #8795: make properties defined in optional constructor paramters optional 2016-05-24 20:09:15 -07:00
Ryan Cavanaugh
7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Ryan Cavanaugh
3dde13484f Merge pull request #8696 from RyanCavanaugh/fix8675
Allow duplicate identifiers across declarations.
2016-05-24 15:22:57 -07:00
Nathan Shively-Sanders
1ee9cb026d Merge pull request #8792 from Microsoft/instantiate-this-in-super-property-access
Instantiate this-type in super property access
2016-05-24 15:07:45 -07:00
Nathan Shively-Sanders
c09793d1e0 Merge pull request #8785 from Microsoft/lint-unit-tests
Lint unit tests via harnessSources in Jakefile.js
2016-05-24 14:56:08 -07:00
Nathan Shively-Sanders
a323fdf49d Instantiate this-type in super property access 2016-05-24 13:07:34 -07:00
Sheetal Nandi
b8b38f3b86 Do not resolve alias when getting symbol of import equal's right hand side
Fixes #5501
2016-05-24 12:11:15 -07:00
Nathan Shively-Sanders
9865b48d0f Remove intentionally unused variables 2016-05-24 11:22:25 -07:00
Nathan Shively-Sanders
3d841b20a7 Lint unit tests via harnessSources in Jakefile.js 2016-05-24 10:17:16 -07:00
Ryan Cavanaugh
675d176cef Allow duplicate identifiers as long as their declarations span multiple blocks
Fixes #8675
2016-05-24 09:58:56 -07:00
Andy Hanson
11d51867f2 Include enums in childItems in navigation bar 2016-05-24 05:58:14 -07:00
Anders Hejlsberg
92d465d01f Merge pull request #8730 from Microsoft/destructureOptionalParameter
Fix destructuring of optional parameters with --strictNullChecks
2016-05-23 15:41:30 -07:00
Anders Hejlsberg
f1d023a689 Merge pull request #8731 from Microsoft/subtypeRelationForNever
Fix subtype relation for 'never' type
2016-05-23 15:40:38 -07:00
Anders Hejlsberg
74e2154a51 Merge pull request #8767 from Microsoft/neverTypeInference
Only infer 'never' in function expressions and arrow functions
2016-05-23 15:40:18 -07:00
Nathan Shively-Sanders
1527499886 Merge pull request #8605 from Microsoft/recursively-remove-object-literal-freshness
Recursively mark object literals as non-fresh when checking assignability to intersections
2016-05-23 15:24:30 -07:00
Nathan Shively-Sanders
cd97270721 Add test case 2016-05-23 15:11:03 -07:00
Andy
0a54a3b50e Merge pull request #8712 from Microsoft/readonly_assignment_in_constructor
Allow assignment to readonly parameter property within the constructor
2016-05-23 13:21:22 -07:00
Anders Hejlsberg
b8e9ecfb1a Add tests 2016-05-23 13:08:15 -07:00
Andy
5035df665d Merge pull request #8756 from Microsoft/no_navigate_to_import
Don't include imports in navigateTo if the imported declaration is also in the items and has the same name
2016-05-23 13:07:14 -07:00