12241 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
833fd010d7 Static prop. inits can refer to later static methods
Static methods are created before static property initializers run, so
static property initializers may refer to static methods. This was not
allowed previously.
2017-04-04 14:49:06 -07:00
Nathan Shively-Sanders
1c649433bd Merge pull request #14956 from Microsoft/add-super-to-control-flow
Add super to control flow
2017-04-04 09:22:03 -07:00
Nathan Shively-Sanders
013d52a44d Merge pull request #14952 from Microsoft/fix-scope-checks-of-class-properties
Fix scope checks of class properties
2017-04-04 08:45:31 -07:00
Yui
dd48dd1b66 Merge pull request #14916 from Microsoft/master-addressPR14692
[Master] Address code review of PR 14692
2017-04-04 08:28:33 -07:00
Andy Hanson
24b09d8502 Only bind JSDoc typedefs in JavaScript files 2017-04-03 15:00:40 -07:00
Mine Starks
9c9b659f44 Merge pull request #14960 from minestarks/master
Expose JSDoc tags through the language service
2017-04-03 11:29:38 -07:00
Andy
45e44cee06 Merge pull request #14984 from Microsoft/backtick
Support backticks in require calls
2017-04-03 10:39:25 -07:00
Ryan Cavanaugh
b81c18314d Update utilities.ts 2017-04-03 10:17:36 -07:00
Andy Hanson
130a24015a Fix options for typedef-whitespace lint rule 2017-04-03 09:38:37 -07:00
Andy Hanson
131555fdca Support backticks in require calls 2017-04-03 08:53:49 -07:00
Mine Starks
af0b2d9768 Merge pull request #12856 from minestarks/includejsdoctags
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
Nathan Shively-Sanders
a62869c81e Merge pull request #14657 from erikmcc/master
Allow export default abstract class. Related to issue 3792.
2017-03-31 14:56:39 -07:00
Nathan Shively-Sanders
a4a7669a4b Add super to control flow.
It is handled the same way as 'this'
2017-03-31 14:17:37 -07:00
Ron Buckton
22b4e4d65d Merge pull request #14920 from Microsoft/jsInferRestArgs
Infer a rest parameter for javascript function that uses 'arguments'
2017-03-31 12:52:11 -07:00
Nathan Shively-Sanders
87565daf4d Props of class A usable in prop initializer of class B
Regardless of the order of declaration of class A and class B.
2017-03-31 12:03:18 -07:00
Daniel Rosenwasser
0459987673 Merge pull request #14467 from kpreisser/fix14269
Allow the right-hand side of an 'in' expression to be of non-primitive object type
2017-03-30 22:51:45 -07:00
jramsay
2e313caa75 Merge pull request #14100 from Microsoft/BowerComponentsFix
Type acquisition support for bower_components directory
2017-03-30 16:38:57 -07:00
rbuckton
3eb6270c9b Trim whitespace 2017-03-30 12:59:09 -07:00
Zhengbo Li
e298f759c3 Fix the name of protocol.ts in tsconfig.json (#14918) 2017-03-29 20:42:27 -07:00
rbuckton
ea2aa0c079 Infer a rest parameter for javascript function that uses 'arguments' 2017-03-29 18:13:19 -07:00
Kanchalai Tanglertsampan
7a66161790 Address code review of PR 14692 2017-03-29 13:57:51 -07:00
Kanchalai Tanglertsampan
728a92ec1a Handle when namespace improt is malform and external module is undefined 2017-03-29 13:08:13 -07:00
Yui
0cb490e2c2 Merge pull request #14692 from Microsoft/master-fixResolveEntityName
[Master] Fix resolve entity name to not dive inside property access expression when the expression is not entity name
2017-03-29 09:55:36 -07:00
Mohamed Hegazy
75e8ba746e Merge pull request #14899 from KingHenne/fix/format-multi-line-object-destructuring
Fix formatting for multi-line object destructuring
2017-03-29 09:43:04 -07:00
Mohamed Hegazy
a8aa070fe6 Merge pull request #14900 from Microsoft/Fix14892
Fix #14892: Add undefined check before using the intializer of for-statment
2017-03-29 09:31:00 -07:00
Kanchalai Tanglertsampan
42f398076d Merge branch 'master' into master-14217
# Conflicts:
#	tests/baselines/reference/classOrder2.errors.txt
#	tests/baselines/reference/es5ExportDefaultClassDeclaration3.symbols
#	tests/baselines/reference/es5ExportDefaultClassDeclaration3.types
#	tests/baselines/reference/mappedTypeRelationships.errors.txt
#	tests/baselines/reference/privacyClassExtendsClauseDeclFile.errors.txt
2017-03-29 08:51:39 -07:00
Kanchalai Tanglertsampan
63f3520d31 Address PR: fix spelling 2017-03-29 08:42:39 -07:00
Mohamed Hegazy
3ab7c868d9 Merge pull request #14859 from NColey/form-data-methods
Add missing methods for FormData type
2017-03-28 21:35:52 -07:00
ncoley
cac60457b1 Update FormData methods with appropriate types 2017-03-28 21:53:14 -04:00
Ron Buckton
62e8881f9b Merge pull request #14907 from Microsoft/jsGenericDefaultsAny
Default to 'any' for unsupplied generics in JavaScript
2017-03-28 16:34:57 -07:00
Mine Starks
711f62f538 Merge pull request #14807 from minestarks/typingsafelist
Allow specifying the location of typingSafeList.json
2017-03-28 14:28:25 -07:00
Mohamed Hegazy
74dd1c0558 Handel empty intializer in system module emit 2017-03-28 10:19:09 -07:00
Mohamed Hegazy
115c008694 Fix #14892: Add undefined check before using the intializer of for-statement 2017-03-28 10:06:36 -07:00
Hendrik Liebau
b7c0450050 fix formatting for multi-line object destructuring 2017-03-28 18:20:57 +02:00
Mohamed Hegazy
8ea961714b Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:26 -07:00
Mohamed Hegazy
0637f241b7 Merge remote-tracking branch 'origin/master' into checkJSFiles 2017-03-27 21:23:07 -07:00
Anders Hejlsberg
1ae5bef80d Merge pull request #14874 from Microsoft/fixIndexedAccessRelation
Fix stack overflow in indexed access relation
2017-03-28 06:19:59 +02:00
Andy
31701b6b19 Merge pull request #14884 from Microsoft/binary-expression
getSpecialPropertyAssignmentKind: Always check for BinaryExpression *outside*, always check for JS file *inside*
2017-03-27 16:02:51 -07:00
jramsay
25f07501fb Merge pull request #14214 from Microsoft/CancellationChecksForLowPriorityTasks
Adding cancellation token checks for lower priority tasks (navbar & outlining spans)
2017-03-27 15:48:08 -07:00
Jason Ramsay
d20cebf998 Merge branch 'master' into CancellationChecksForLowPriorityTasks 2017-03-27 14:49:41 -07:00
Andy Hanson
dd06cbb315 getSpecialPropertyAssignmentKind: Always check for BinaryExpression *outside*, always check for JS file *inside* 2017-03-27 14:32:45 -07:00
Mohamed Hegazy
e630ab1a31 Report semantic errors for JS files if checkJs is enabled 2017-03-27 14:20:00 -07:00
Arthur Ozga
5e4b8d66ff Merge pull request #14709 from aozgaa/createTypeNode
Create type node
2017-03-27 12:58:32 -07:00
Yui
4680f019f8 Merge pull request #14834 from chozzz/master
Bug fix for issue #14696
2017-03-27 12:13:18 -07:00
Arthur Ozga
4329b4524e Cleanup 2017-03-27 12:01:56 -07:00
Arthur Ozga
7340c4ca1e type predicate support 2017-03-27 11:53:44 -07:00
Mohamed Hegazy
3378f5cb38 Merge branch 'master' into checkJSFiles 2017-03-27 10:46:40 -07:00
Josh Goldberg
523ced704f symbolDisplay comment fix: "experts" vs "exports" 2017-03-27 16:51:38 +01:00
Anders Hejlsberg
cca7ac2557 Use immediate constraint, not base constraint, of indexed access 2017-03-27 11:37:27 +02:00
Arthur Ozga
a39bb0aaaa midway through response to ron's comments 2017-03-27 00:34:48 -07:00