Commit Graph
2569 Commits
Author SHA1 Message Date
Sheetal Nandi c6d54d6ae6 Simplify verification of emit file paths using utility to iterate over each emit file
This also makes sure we dont emit --out or --outFile if there are no files that can go in that file(non module and non declaration files)
2015-10-30 13:22:23 -07:00
Sheetal Nandi 9f337bc681 Merge branch 'master' into jsFileCompilation 2015-10-30 12:16:50 -07:00
Sheetal Nandi 6ea74ae7f1 Update the error messages as per PR feedback 2015-10-30 11:56:44 -07:00
Sheetal Nandi daba901619 Report error if --allowJs option is used along with --declaration 2015-10-30 11:50:07 -07:00
Sheetal Nandi 94a647b72b Do not emit declarations for javascript files 2015-10-30 11:36:39 -07:00
Sheetal Nandi b217b8b620 Merge branch 'master' into jsFileCompilation 2015-10-30 09:34:32 -07:00
Nathan Shively-Sanders 1b0bc8a496 Accept baselines 2015-10-30 09:21:23 -07:00
Wesley Wigham d3b95d2e23 Merge pull request #5422 from weswigham/const-enum-deprocdessing
Const enum deconst'ing
2015-10-28 17:01:39 -07:00
Sheetal Nandi 38ebb1d835 Tests update after declaration file emit revert 2015-10-28 16:59:52 -07:00
Sheetal Nandi 0c3c7f1a1b Treat the .jsx and .tsx files as jsx when parsing and .js files are parsed in standard mode 2015-10-28 16:39:22 -07:00
Sheetal Nandi 2d3a345fd3 Since there arent any user given extensions, have extensions start with "." like before 2015-10-28 16:24:53 -07:00
Mohamed Hegazy 8e732c9b95 Merge pull request #5375 from MartyIX/issue-5109
Add warning message empty THEN clause
2015-10-28 14:19:51 -07:00
Sheetal Nandi ea57efa430 Test baseline update because .map cannot be a valid js file anymore 2015-10-28 14:09:03 -07:00
Sheetal Nandi 382b86bd2c Test update for using allowJs instead of --jsExtensions 2015-10-28 14:03:18 -07:00
Sheetal Nandi 57362f6017 Some tests to cover transpilation of different syntax 2015-10-28 13:08:35 -07:00
Sheetal Nandi 8f03d00dc0 Test cases to verify that declaration file is not emitted if any of the declaration file in program has error 2015-10-28 13:08:20 -07:00
Sheetal Nandi bf05ea3b2f Some test cases to verify that declaration file overwrite is reported correctly 2015-10-28 13:08:06 -07:00
Sheetal Nandi ff933be5ff Populate if emit was skipped correctly as part of emit result 2015-10-28 13:07:50 -07:00
Sheetal Nandi 93cc1e530b Check source map files are being overwritten 2015-10-28 13:07:35 -07:00
Sheetal Nandi c26d2da572 Do not emit declarations file if we reported error about inaccessible This type 2015-10-28 13:07:27 -07:00
Sheetal Nandi d14934e4da Tests update for emitting declarations if no errors 2015-10-28 13:07:08 -07:00
Martin Všetička 1e2108854b Add warning message empty THEN clause 2015-10-28 08:25:41 +01:00
Ron Buckton 96504fa604 Use resolvedSymbol instead of mergedSymbol.
Fixes #5333.
2015-10-28 00:09:50 -07:00
Wesley Wigham b0764582ce accept api test baslines 2015-10-27 16:24:19 -07:00
Vladimir Matveev ea054f7cbb Merge pull request #5412 from Microsoft/classesInLoop
treat local classes as block scoped variables
2015-10-27 10:23:16 -07:00
Mohamed Hegazy 33d7a1fc13 Merge pull request #5397 from seanchas116/fix-nested-parameter-destructuring
Fix nested parameter destructuring
2015-10-27 09:46:23 -07:00
Vladimir Matveev 654befa781 treat local classes as block scoped variables 2015-10-26 22:18:04 -07:00
Ryohei Ikegami e64831b2b8 Accept baseline 2015-10-27 11:59:48 +09:00
Vladimir Matveev 4dbd04cdeb Merge pull request #5208 from Microsoft/capturedBlockScopedVars
support block scoped vars captured in closures inside loops
2015-10-26 16:58:15 -07:00
Mohamed Hegazy ed5dc5536d Merge pull request #5390 from maybejulian/declareOnTypeAliasInDts
Allow type aliases to omit 'declare' keyword in '.d.ts' files
2015-10-25 23:26:18 -07:00
Julian Williams 5613ba860f accepted baselines 2015-10-24 13:43:11 -04:00
Nathan Shively-Sanders c4e54685c6 Merge pull request #5384 from Microsoft/fix-union-of-variadic-functions
Fix union of variadic functions
2015-10-23 14:54:13 -07:00
Nathan Shively-Sanders d26a4c8a87 Merge pull request #5359 from Microsoft/merge-inherits-interface-members
Merge inherits interface members
2015-10-23 14:51:13 -07:00
Nathan Shively-Sanders 7a1004371b Add tests and accept baselines 2015-10-23 13:33:55 -07:00
Nathan Shively-Sanders fe19ccf7d7 Merge pull request #5368 from Microsoft/convert-diagnostic-text-to-es2015
Convert diagnostic text to es2015
2015-10-23 12:47:26 -07:00
Julian Williams c30ac53c66 Accepted baselines. 2015-10-22 20:44:50 -04:00
Wesley Wigham 58d20ae2e3 accept new baselines 2015-10-22 14:36:09 -07:00
Nathan Shively-Sanders f99227b330 Accept baselines 2015-10-22 13:28:54 -07:00
Nathan Shively-Sanders 1651f1809c Improve mergedInheritedClassInterface test case
Covers the case when the merged interface extends an interface, but the
merged class does not extend a class, then trying to extend that class.
2015-10-22 11:32:26 -07:00
Nathan Shively-Sanders ae6ebe1550 Accept new baselines 2015-10-21 19:55:04 -07:00
Nathan Shively-Sanders 7f989315da Accept baselines
A couple of tests were previously updated to give an incorrect error
message.
2015-10-21 16:12:15 -07:00
Nathan Shively-Sanders 36ddd022a1 Tests for interfaces merged w/classes
Both interfaces and classes have base classes/interfaces; all members are
available on an instance of the merged child.
2015-10-21 16:10:46 -07:00
Ryan Cavanaugh 853e9a2462 Merge pull request #5295 from RyanCavanaugh/detectAdjacentJsxElements
Better error recovery for adjacent JSX elements in expression positions
2015-10-20 13:16:02 -07:00
Anders Hejlsberg a8fa81b187 Merge pull request #5344 from Microsoft/excessPropertiesWithUnion
Fix excess property check in union and intersection types
2015-10-20 13:05:51 -07:00
Ron Buckton c3f36e145d Merge pull request #5343 from Microsoft/fixES6LetInModule
Fixes emitExpressionIdentifier when combining --target ES6 with --module.
2015-10-20 12:51:13 -07:00
Anders Hejlsberg a22f9b87bd Adding test 2015-10-20 12:40:39 -07:00
Ron Buckton c627802a43 Tests 2015-10-20 12:32:49 -07:00
Nathan Shively-Sanders f9c40d11a9 Merge pull request #5267 from Microsoft/disallow-primitive-assignability-to-index-of-any
Disallow primitive assignability to indexer of type any
2015-10-19 15:48:04 -07:00
Vladimir Matveev 96a4b237ac Merge branch 'master' into capturedBlockScopedVars 2015-10-19 14:22:25 -07:00
Vladimir Matveev c13c8bf316 addressed PR feedback 2015-10-19 14:10:27 -07:00