Commit Graph

4901 Commits

Author SHA1 Message Date
Mohamed Hegazy 622f469029 change flag name 2016-02-06 12:15:14 -08:00
Mohamed Hegazy e58ba40d12 Rename flag 2016-02-05 17:00:06 -08:00
Mohamed Hegazy 16fffb454e Add flag to emit modules in loose mode 2016-02-05 16:58:31 -08:00
Ryan Cavanaugh e4a6b670c1 Use different syntax kind here
(cherry picked from commit d47097f009)
2016-02-05 10:47:38 -08:00
Ryan Cavanaugh 8d0267c854 Recognize = as equivalent to ? in JSDoc signatures
Fixes #6811

(cherry picked from commit f7eac73a6f)
2016-02-05 10:47:28 -08:00
Ryan Cavanaugh 4035bf3006 Allow parsing TS-style generics in JSDoc
Fixes #6814

(cherry picked from commit 6e06bb39a1)

# Conflicts:
#	tests/cases/fourslash/jsDocGenerics1.ts
2016-02-05 10:47:09 -08:00
Ryan Cavanaugh 34b0b5c82d Capture node.parent
(cherry picked from commit 1c7062313d)
2016-02-05 10:43:19 -08:00
Ryan Cavanaugh 37441e1698 Recognize object literal method JSDoc comments
Fixes #6825

(cherry picked from commit 8aad976c69)
2016-02-05 10:43:09 -08:00
Yui aaea852609 Merge pull request #6911 from Microsoft/fix6901
Fix emitting super-call when using prologue directives
2016-02-04 21:12:03 -08:00
Kanchalai Tanglertsampan c02816fead Address PR 2016-02-04 18:20:25 -08:00
Kanchalai Tanglertsampan 66e2bd6b70 Fix where we start checking for super-call 2016-02-04 14:18:23 -08:00
Vladimir Matveev a2774c10d5 port PR #6898 2016-02-04 14:03:39 -08:00
Vladimir Matveev 3d01190706 Merge pull request #6906 from Microsoft/port-6858
Ports #6858 into release-1.8
2016-02-04 12:46:43 -08:00
Bill Ticehurst b761096dff Merge pull request #6905 from Microsoft/portJsDocFixes
Port Salsa fixes
2016-02-04 12:40:49 -08:00
Vladimir Matveev 8d2d869f9f Merge pull request #6858 from Microsoft/emitImportsInDts
emit import declarations without import clause in .d.ts files
2016-02-04 12:14:10 -08:00
Ryan Cavanaugh 73a8ace843 Fixes bug #6673
#6673

(cherry picked from commit f89ebb8fd8)
2016-02-04 11:30:34 -08:00
Ryan Cavanaugh a426de3b89 Fix lint
(cherry picked from commit 95196886f7)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh cf0e79a02f Add explicit return undefined;
(cherry picked from commit 1f503f1b27)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh f0e70cbf0f Don't crash when return type jsdoc tag is malformed
Fixes #6662

(cherry picked from commit 5a845bf0fc)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh 96ec9be665 Recognize the RHS of assignments as the JSDoc target expression
Fixes #6552

(cherry picked from commit 364b08854b)
2016-02-04 11:28:07 -08:00
Ryan Cavanaugh eb27166b09 Parse JSDoc comments for ES6 class constructors and methods
Fixes #6646

(cherry picked from commit 1b282cda1d)
2016-02-04 11:27:31 -08:00
Ryan Cavanaugh de2ef72d4f Use union types in the return type of functions in the error case
Fixes #6663

(cherry picked from commit da6e82f639)
2016-02-04 11:26:45 -08:00
Ryan Cavanaugh 671d83e81a Treat multiple prototype property assignments as union property declarations
(cherry picked from commit a4c6f66686)
2016-02-04 11:26:02 -08:00
Ryan Cavanaugh 5de87e30c6 Allow multiple 'this' property assignments in Salsa
Fixes issue #6645

(cherry picked from commit 7259b9fd4a)
2016-02-04 11:26:02 -08:00
zhengbli 85bb1e8610 Add more tests and comments
(cherry picked from commit bf897c2939)
2016-02-04 10:45:50 -08:00
zhengbli ea099e7d13 Fix for thisProperty
(cherry picked from commit b389e9c619)
2016-02-04 10:44:46 -08:00
zhengbli 2a24e033cd Fix find all references for salsa
(cherry picked from commit e4ab2db9fb)
2016-02-04 10:44:46 -08:00
Vladimir Matveev 9fe10a6ac0 Merge pull request #6846 from Microsoft/noErrorOnEmptyDtsFile
do not error if typings for external library is empty .d.ts file
2016-02-02 12:13:42 -08:00
Yui 738dde189d Merge pull request #6745 from Microsoft/fix6637
Fix6637
2016-02-01 16:49:25 -08:00
Daniel Rosenwasser 34a0deb561 Only error on 'export =' declarations. 2016-02-01 13:28:58 -08:00
Vladimir Matveev a4af38a622 Merge pull request #6791 from Microsoft/port-6789
Ports #6789 into release-1.8
2016-02-01 12:05:45 -08:00
Vladimir Matveev d86cdfda1b Merge pull request #6786 from Microsoft/port-6763
Ports #6763 into release-1.8
2016-02-01 11:39:04 -08:00
Vladimir Matveev f55f28f82f Merge pull request #6789 from Microsoft/transpileJs
suppress validation of output paths in transpile scenarios
2016-02-01 11:29:04 -08:00
Vladimir Matveev 774b17b6ca Merge pull request #6787 from Microsoft/port-6770
Ports #6770 into release-1.8
2016-02-01 10:41:50 -08:00
Vladimir Matveev 641826bd2c Merge pull request #6770 from Microsoft/dottedNamesInSystem
properly handle dotted namespace names in System modules
2016-02-01 10:09:14 -08:00
Vladimir Matveev e67f7bc830 Merge pull request #6763 from Microsoft/classInterfaceCrossFileMerge
properly handle merged declarations across files
2016-02-01 10:02:38 -08:00
Vladimir Matveev 32001eac8a Merge pull request #6742 from Microsoft/augmentExportEquals
allow augmentation for entities exported via 'export='
2016-01-30 20:00:21 -08:00
Kanchalai Tanglertsampan 661634b4a5 Fix lastEncodedSourceMapSpan from being set to undefined 2016-01-29 18:20:05 -08:00
Ron Buckton b4bb5f3379 PR feedback 2016-01-29 18:05:36 -08:00
Ron Buckton 7b4b236a7a Cleaned up variable names and conditions in checkIdentifier 2016-01-29 18:05:20 -08:00
Ron Buckton 463d1f52e6 Creates a class body scoped alias to the class to avoid class name double binding.
Fixes #5386.
2016-01-29 18:05:04 -08:00
Yui c7a3cb66b1 Merge pull request #6711 from Microsoft/port5833
Port5833
2016-01-29 16:57:33 -08:00
Vladimir Matveev 927c8af35e Merge pull request #6736 from Microsoft/crossFileDeclarationMerging
fix access check issues when declaration is in multiple files
2016-01-29 14:05:40 -08:00
Mohamed Hegazy 3bfc6a01e3 Merge pull request #6688 from guybedford/system-module-id
Set __moduleName from context.id argument
2016-01-29 10:29:47 -08:00
Kanchalai Tanglertsampan 6b68b31357 Update baselines 2016-01-28 17:20:16 -08:00
Kanchalai Tanglertsampan c084cfffc7 Simplify giving error message and remove unnecessary error 2016-01-28 17:03:20 -08:00
Yui T 32ae0b08d1 Address comments 2016-01-28 17:02:43 -08:00
Yui T d89b9df567 Update baseline with new error message number and fix space and comment 2016-01-28 17:01:29 -08:00
Yui T 40ba1be0a9 Address PR feedback
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2016-01-28 17:00:59 -08:00
Yui T 648ce187b7 Fix where to report on error. Move from constructor node to just super node
Conflicts:
	src/compiler/checker.ts
2016-01-28 16:58:27 -08:00