Commit Graph

12444 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan bb5b20b587 Address code review 2017-03-21 08:07:11 -07:00
Kanchalai Tanglertsampan 3600ccc833 Merge branch 'master' into master-14217
# Conflicts:
#	tests/baselines/reference/bestChoiceType.symbols
#	tests/baselines/reference/classExpressionWithStaticProperties3.symbols
#	tests/baselines/reference/classExpressionWithStaticPropertiesES63.symbols
#	tests/baselines/reference/declarationEmitPromise.symbols
#	tests/baselines/reference/keyofAndIndexedAccess.symbols
#	tests/baselines/reference/mapOnTupleTypes01.symbols
#	tests/baselines/reference/mapOnTupleTypes02.symbols
#	tests/baselines/reference/mappedTypeRelationships.errors.txt
#	tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.symbols
#	tests/baselines/reference/specializationsShouldNotAffectEachOther.symbols
#	tests/baselines/reference/tsxSpreadChildren.symbols
#	tests/baselines/reference/typedArrays.symbols
2017-03-21 07:36:08 -07:00
Yui b6dfa39ce0 Merge pull request #14252 from Microsoft/master-fix12297
[Master] Fix 12297 undefined exception in writeReferencePath
2017-03-20 21:00:34 -07:00
Kanchalai Tanglertsampan 028c41b951 Merge branch 'master' into master-13893 2017-03-20 17:22:04 -07:00
Anders Hejlsberg 363c5144bc Merge pull request #14635 from Microsoft/fixIntersectionMethodOverrides
Fix intersection method overrides
2017-03-20 16:24:05 -07:00
Mine Starks 0c1642a8b7 Allow specifying location of typingSafeList.json 2017-03-20 16:16:38 -07:00
Andy 18f0d85bff Merge pull request #14581 from Microsoft/foreachchild
Expose `forEachChild` as a method of Node
2017-03-20 14:56:21 -07:00
Andy d5c1b71429 Merge pull request #14710 from Microsoft/lint
Fix lint errors
2017-03-20 14:50:36 -07:00
Andy 082cf11c36 Merge pull request #14730 from Microsoft/typo
Fix typo
2017-03-20 14:50:07 -07:00
Andy Hanson b8aa84e8bf Use more specific types in a few cases 2017-03-20 14:49:12 -07:00
Arthur Ozga 67587cbbbd Merge branch 'master' into createTypeNode 2017-03-20 14:39:54 -07:00
Yui de5211352a Merge pull request #14132 from Microsoft/master-fix12952
[Master] Fix 12952 : throw exception when parsing conflict marker in JSX
2017-03-20 14:32:52 -07:00
Yui 7b04f1d60b Merge pull request #14717 from Microsoft/master-onlyEmitUseStrictInExternalModule
[Master] Only emit "use strict" when users ask for or the file is external module
2017-03-20 14:32:20 -07:00
Mohamed Hegazy 238edf08b7 Merge pull request #14716 from Microsoft/fix14565
Do not report semantic diagnostics for infered and external projects with only .js files
2017-03-20 10:45:46 -07:00
Andy Hanson 0152e8c4bb Fix lint scripts 2017-03-20 09:58:37 -07:00
andy-ms 2a2c1a9c14 Add comment 2017-03-19 10:03:36 -07:00
andy-ms 50c18bbea0 Fix typo 2017-03-19 10:00:28 -07:00
Yui T cc6140f6e9 Only emit "use strict" when users ask for or the file is external module 2017-03-17 17:22:02 -07:00
Mohamed Hegazy a710e9433b Do not report semantic diagnostics for infered and external projects with only .js files 2017-03-17 17:20:43 -07:00
Arthur Ozga 57cd9eaf3b Merge branch 'master' into createTypeNode 2017-03-17 16:50:05 -07:00
Andy ac67b94a6e Merge pull request #14690 from Microsoft/clean_up_parser
Clean up code in parser
2017-03-17 15:05:09 -07:00
Arthur Ozga ff061a1b93 consolidate edits 2017-03-17 14:56:04 -07:00
Andy Hanson 6234cbb82f Move comment to JSDoc 2017-03-17 14:04:36 -07:00
Arthur Ozga d3661f5b6a add tokenVisitor 2017-03-17 13:55:39 -07:00
Andy Hanson 2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Andy Hanson 4c71862388 Nope, need 'isInString' 2017-03-17 12:57:34 -07:00
Arthur Ozga 944b34fd4e move commas to end of line 2017-03-17 12:08:38 -07:00
Arthur Ozga ac7fc8fe75 Handle TODO's 2017-03-17 11:54:51 -07:00
Andy Hanson 03e0238cee Don't need isInString to be a property 2017-03-17 11:54:18 -07:00
Andy Hanson 94f6839aec Factor out FindAllReferences.Core and use Definition/Entry to allow findReferencedSymbols and getImplementationsAtPosition to return different results 2017-03-17 11:47:31 -07:00
Andy Hanson ec558b8080 Merge branch 'master' into refactor_findallrefs 2017-03-17 08:04:04 -07:00
Diogo Franco (Kovensky) 61ebcb49c7 Allow exporting a binding before its declaration 2017-03-17 10:25:37 +09:00
Arthur Ozga 4fa32a29ce make enclosingdeclaration arg required 2017-03-16 18:02:57 -07:00
Arthur Ozga 28df2ab2df some cleanup 2017-03-16 17:21:12 -07:00
Arthur Ozga a88be7c6f9 consolidate SignatureParts 2017-03-16 16:59:01 -07:00
Arthur Ozga 41e511efd2 fix call 2017-03-16 16:51:18 -07:00
Arthur Ozga 7b93a75e41 Merge branch 'master' into createTypeNode 2017-03-16 16:46:45 -07:00
Arthur Ozga 69587a286a transformers tests 2017-03-16 16:41:38 -07:00
Arthur Ozga 0fa4f112a3 signatures, parameter, literals, anyonymous types 2017-03-16 16:41:26 -07:00
Vladimir Matveev 595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Andy Hanson 18f283f68a Add more missing quotes 2017-03-16 14:43:56 -07:00
Kanchalai Tanglertsampan 4980fa4d5d Update resolveEntityName to check for non entity name in property access expression 2017-03-16 13:39:17 -07:00
Andy Hanson 9c0f77091c Clean up code in parser 2017-03-16 13:23:35 -07:00
Mohamed Hegazy 7ead44f841 Merge pull request #14448 from DLehenbauer/removeWScript
Remove vestiges of WScript support
2017-03-16 12:23:32 -07:00
Zhengbo Li 5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Arthur Ozga ec997f3299 more temp 2017-03-16 09:52:19 -07:00
Kanchalai Tanglertsampan 1c90ef5aad wip-fix resolveEntityName with parenthesizedExpression 2017-03-15 19:16:37 -07:00
Mohamed Hegazy d78e5a1db5 Normalize line endings when validating baselines 2017-03-15 18:39:44 -07:00
Arthur Ozga 0a2d7a7f94 temp
* added signature factory/visitor entry
2017-03-15 18:09:55 -07:00
Mohamed Hegazy b6ccad4b54 Fix bad merge 2017-03-15 17:21:07 -07:00