Commit Graph

8222 Commits

Author SHA1 Message Date
Anders Hejlsberg
5f3f2d302f Create separate control flows for property declarations with initializers 2016-06-02 06:47:37 -07:00
zhengbli
eb0f035c78 Remove unused parameter 2016-05-31 16:08:12 -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
Anders Hejlsberg
41446fe4c2 Address CR feedback 2016-05-31 14:33:00 -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
Yui
35b8b42b55 Only check if the extensions match (#8870) 2016-05-31 11:16:56 -07:00
Zhengbo Li
5261467a32 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 10:39:23 -07:00
zhengbli
59b188d4ca Add navigationTo test for jsdoc typedef 2016-05-31 02:05:26 -07:00
zhengbli
18ee4b0a1e cr feedback 2016-05-30 22:11:43 -07:00
Anders Hejlsberg
5b4dffc2d7 More critical path optimization in binder 2016-05-29 16:04:34 -07:00
Anders Hejlsberg
66e9f7dc21 Optimize critical code paths in binder 2016-05-28 16:00:31 -07:00
Anders Hejlsberg
e8ecf0e615 Track return statements in IIFE using a flow label 2016-05-28 06:43:28 -07:00
Vladimir Matveev
92938cd8df check that default clause is non-empty in reachability checks 2016-05-27 15:38:59 -07:00
Vladimir Matveev
f07b4ba9d7 Merge pull request #8774 from Microsoft/parallel-tests
run tests in parallel by equally dividing them between workers
2016-05-27 10:38:29 -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
1647d20d90 Fix linting errors 2016-05-26 16:50:36 -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
Anders Hejlsberg
3b5c72c4bc Include outer function expressions in control flow analysis 2016-05-26 15:30:31 -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
zhengbli
81ce532cde Change how typedef tag is parsed 2016-05-26 14:33:30 -07:00
Mohamed Hegazy
04d6e9167f Fix typos 2016-05-26 14:11:27 -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
Mohamed Hegazy
8aa6a9dcd6 Merge pull request #8786 from rkirov/no_double_assignment
do not emit double assignment of class expressions.
2016-05-26 10:59:55 -07:00
Andy Hanson
58d69cda64 Fix localeCompare differences between node versions
node 6.2.0: "a".localeCompare("A") is -1.
node 0.10.45: "a".localeCompare("A") is 32.
2016-05-26 10:35:18 -07:00
Andy Hanson
f012159220 Revert previous commit 2016-05-26 09:59:45 -07:00
Andy Hanson
cc5b103b2e Fix localeCompare differences in node versions 2016-05-26 09:45:40 -07:00
Andy Hanson
12914eacc5 Fix lint errors 2016-05-26 09:01:56 -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 Hanson
fe77f541f6 Always include a root node in the navigation bar.
This lets us change the navigation bar counting algorithm to traverse from the root only, so it never has duplicate nodes.
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
7ec13b3b4e Merge pull request #8828 from Microsoft/no_null_harness
Remove many uses of 'null' in harness
2016-05-26 06:24:40 -07:00
Andy Hanson
1be09c9c57 Merge branch 'navbar_class_child_item' into navbar_modules 2016-05-26 06:23:01 -07:00
Andy Hanson
5a627ad176 Fix trailing whitespace 2016-05-26 06:01:20 -07:00
Mohamed Hegazy
6173696b25 Merge pull request #8825 from Microsoft/Fix8795-1
Fix #8795: make properties defined in optional constructor parameters optional
2016-05-25 17:11:57 -07:00
Nathan Shively-Sanders
42c17e194e Address PR comments 2016-05-25 17:03:33 -07:00
Vladimir Matveev
df4ab083f4 Merge pull request #8829 from Microsoft/tslintPerf
add a extra check to avoid rescans in Node.getStart
2016-05-25 16:54:25 -07:00
Vladimir Matveev
3e3ae7bd90 merge with origin/master, address PR feedback 2016-05-25 16:23:51 -07:00
Andy Hanson
1bae2c4982 Merge branch 'master' into navbar_class_child_item 2016-05-25 13:49:31 -07:00