18520 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
32e5cf76af Fix AMD emit 2017-03-28 13:27:33 -07:00
Kanchalai Tanglertsampan
6080c3efd6 Remove error with noImplicitAny 2017-03-28 12:38:41 -07:00
Andy Hanson
eb09c11e48 Call the cancellationToken once per SourceFile, instead of calling it at every possible position. 2017-03-28 10:34:21 -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
Andy Hanson
84a316bce2 Add colon 2017-03-28 09:53:49 -07:00
Hendrik Liebau
b7c0450050 fix formatting for multi-line object destructuring 2017-03-28 18:20:57 +02:00
Hendrik Liebau
40cd0b8dd3 add formatting tests for multi-line object destructuring
with insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces === false
2017-03-28 18:20:33 +02:00
Mohamed Hegazy
0fd0903280 Merge pull request #14496 from Microsoft/checkJSFiles
Add support to report errors in js files
2017-03-27 21:52:29 -07: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
Andy Hanson
1cf765d664 Lint for fallthrough in switch 2017-03-27 15:09:00 -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
Andy Hanson
28a3604714 Fix #14346 2017-03-27 14:17:27 -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
Andy Hanson
2dd23fa0a8 Lint 2017-03-27 11:51:13 -07:00
Andy Hanson
cf6c24cd02 Respond to minor PR comments 2017-03-27 11:46:38 -07:00
Andy Hanson
aa1c860f08 Merge branch 'master' into refactor_findallrefs 2017-03-27 11:31:07 -07:00
Andy Hanson
7739a88926 getReferencesInContainer: Take sourceFile as parameter 2017-03-27 10:57:54 -07:00
Mohamed Hegazy
3378f5cb38 Merge branch 'master' into checkJSFiles 2017-03-27 10:46:40 -07:00
Mohamed Hegazy
c949116fa9 Merge pull request #14876 from JoshuaKGoldberg/patch-1
symbolDisplay comment fix: "experts" vs "exports"
2017-03-27 09:47:37 -07:00
Kanchalai Tanglertsampan
486dc91f76 Change comment to jsdoc 2017-03-27 09:47:23 -07:00
Josh Goldberg
523ced704f symbolDisplay comment fix: "experts" vs "exports" 2017-03-27 16:51:38 +01:00
Anders Hejlsberg
0b8a9fc3d0 Add regression test 2017-03-27 11:44:49 +02:00
Anders Hejlsberg
4aeab77783 Accept new baselines 2017-03-27 11:38:05 +02: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
Arthur Ozga
fb4e3d87bd essymbol and object 2017-03-26 22:45:13 -07:00
Arthur Ozga
e2b3c9c663 remove NodeBuilder 2017-03-26 22:29:17 -07:00
ncoley
6366719de8 Add missing methods for FormData type 2017-03-26 19:05:13 -04:00
Mohamed Hegazy
02e487ac08 Merge pull request #14811 from IgorNovozhilov/patch-1
[object Generator]
2017-03-26 14:14:27 -07:00
IgorNovozhilov
ee2a909f54 ["Two small changes"] 2017-03-26 17:08:27 +03:00
Arthur Ozga
a94f874b06 use NodeBuilderContext 2017-03-25 14:14:36 -07:00
IgorNovozhilov
a065331d69 [object Generator]
25.3 Generator Objects
http://www.ecma-international.org/ecma-262/6.0/#sec-generator-objects
```
C:\Users> node
> GF = function* (){}
[Function: GF]
> GF.constructor.name
'GeneratorFunction'
> G = GF()
{}
> G + ''
'[object Generator]'
```
2017-03-25 17:26:18 +03:00
chozzz
ba0d895776 Merge remote-tracking branch 'choz/master' 2017-03-25 09:44:49 +08:00
Ryan Cavanaugh
f1339ecb8e Remove trailing WS 2017-03-24 16:07:23 -07:00
Kanchalai Tanglertsampan
61f199e5f2 Update tests 2017-03-24 15:32:16 -07:00
Kanchalai Tanglertsampan
640f2c7371 Error when dynamic import has type arguments 2017-03-24 15:30:57 -07:00
Bill Ticehurst
9e8b3d9c3b Merge pull request #14846 from Microsoft/dev/billti/port14809ToMaster
Port 14809 to master
2017-03-24 15:16:52 -07:00
Kanchalai Tanglertsampan
265d0c020b Fix where we report noImplicitAny error in dynamic import 2017-03-24 13:24:50 -07:00
Arthur Ozga
85986ddaee dont check isPartOfTypeNode 2017-03-24 13:12:07 -07:00
Arthur Ozga
797f6dac02 rename helper 2017-03-24 13:01:27 -07:00