Commit Graph

34591 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan 7a66161790 Address code review of PR 14692 2017-03-29 13:57:51 -07:00
Kanchalai Tanglertsampan 3c469c51a1 Add tests 2017-03-29 13:08:21 -07:00
Kanchalai Tanglertsampan 728a92ec1a Handle when namespace improt is malform and external module is undefined 2017-03-29 13:08:13 -07:00
Mohamed Hegazy e5a0f60d4c fix failing test 2017-03-29 11:54:46 -07:00
Kanchalai Tanglertsampan 9715052591 Merge branch 'master' into master-dynamicImport 2017-03-29 10:58:26 -07:00
Kanchalai Tanglertsampan d4754db443 Update baseline from merging with master 2017-03-29 10:51:18 -07:00
Kanchalai Tanglertsampan 11f6eaec5b Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/commandLineParser.ts
2017-03-29 10:51:05 -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
Yui 294ac30dc9 Merge pull request #14274 from Microsoft/master-14217
[Master] Fix 14217 emit shebang at the top of output file
2017-03-29 09:08:17 -07:00
Kanchalai Tanglertsampan af731e0700 Update baselines from merging with master 2017-03-29 08:52: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
Hendrik Liebau 3e81f08107 add single-line object destructuring test case 2017-03-29 09:52:52 +02: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
Kanchalai Tanglertsampan f3306db91d Update baselines 2017-03-28 13:31:50 -07:00
Kanchalai Tanglertsampan 249f446212 Update tests 2017-03-28 13:31:40 -07:00
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