Commit Graph

35940 Commits

Author SHA1 Message Date
Vladimir Matveev 93e942a6de FileMap now internally stores absolute normalized file names 2015-10-29 13:52:43 -07:00
Vladimir Matveev 67026f3461 use resolvedFileName as is when calling methods on host 2015-10-29 13:09:46 -07:00
Vladimir Matveev 3f11c0b2de merge with master 2015-10-29 09:33:27 -07:00
Sébastien Arod f5e73ab8bf Fix handling of escaped characters in string 2015-10-29 14:55:23 +01:00
Sébastien Arod b60d88fa80 Allow comments in tsconfig.json issue #4987 2015-10-29 12:56:13 +01:00
Vladimir Matveev 067e1ccef2 Merge pull request #5440 from Microsoft/lintServer
lint code in 'server' folder
2015-10-28 20:55:46 -07:00
Daniel Rosenwasser 441dd78114 Accepted baselines. 2015-10-28 17:10:57 -07:00
Daniel Rosenwasser bdb1db5ae4 Matchable should have no effect on intersections. 2015-10-28 17:10:54 -07:00
Daniel Rosenwasser 262352ec5b Added tests on intersection types. 2015-10-28 17:10:52 -07:00
Daniel Rosenwasser 929808ef07 Accepted baselines. 2015-10-28 17:10:50 -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
Wesley Wigham 0e47c67ee1 update error 2015-10-28 17:00:47 -07:00
Sheetal Nandi 38ebb1d835 Tests update after declaration file emit revert 2015-10-28 16:59:52 -07:00
Sheetal Nandi fdb7a3e452 Revert the change to block declaration emit in case of syntax or semantic errors 2015-10-28 16:52:05 -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
Wesley Wigham 168c664639 restore any narrowing 2015-10-28 16:29:36 -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
Wesley Wigham febda00f1b Improve type narrowing algorithm with typeof 2015-10-28 16:06:40 -07:00
Vladimir Matveev 9c0982051d lint node.d.ts 2015-10-28 16:02:16 -07:00
Sheetal Nandi 45b995d030 Remove extensions doesnt need to depend on compiler options any more 2015-10-28 15:45:00 -07:00
Vladimir Matveev 5ce7fd9781 lint server 2015-10-28 15:42:15 -07:00
Sheetal Nandi a8eb76fde1 Remove the logic for parsing compilation of comma seperated list of strings on command line
Also removed logic to accept multiple values for the option
2015-10-28 15:26:48 -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
Ron Buckton 9201ba2857 Merge pull request #5429 from Microsoft/fixAsyncTypeAlias
Fix type check for async function with alias return type.
2015-10-28 14:10:44 -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 ba3d34f9df Instead of --jsExtensions support --allowJs with .js and .jsx as supported extensions 2015-10-28 14:02:46 -07:00
Wesley Wigham 062495c426 naive change and new tests 2015-10-28 13:48:32 -07:00
Ron Buckton fdac86fab9 Linter errors 2015-10-28 13:48:13 -07:00
Mohamed Hegazy d28acec24e Update LKG 2015-10-28 13:40:23 -07:00
Mohamed Hegazy 0d71ec3120 Fix #5430: Use FileMap instead of a simple Map for storing file list in tsserver 2015-10-28 13:38:39 -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
Sheetal Nandi 3215438ddf Dont emit declaration file if there are errors in the source file 2015-10-28 13:06:52 -07:00
Sheetal Nandi 68040879c9 Refactoring to fix build issues 2015-10-28 13:06:30 -07:00
Mohamed Hegazy 0aef9440f2 Update LKG 2015-10-28 11:41:27 -07:00
Mohamed Hegazy 4bbb7d29c3 Remove async from builtGeneratedDiagnosticMessagesJSON task 2015-10-28 11:40:33 -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
Daniel Rosenwasser 42b3ce4d0c Rename the relationship to "matchable by". 2015-10-27 23:59:53 -07:00
Daniel Rosenwasser 9a5e3e3498 Avoid a redundant stricter check when using the new relation. 2015-10-27 23:53:17 -07:00
Daniel Rosenwasser 1edb007acc Check for partial satisfiability when using the comparable relationship. 2015-10-27 17:55:33 -07:00
Daniel Rosenwasser 43f158d418 Added "comparability" relation. It's currently equivalent to assignability. 2015-10-27 17:55:31 -07:00
Daniel Rosenwasser 7426aca392 Accepted baselines. 2015-10-27 17:54:36 -07:00
Daniel Rosenwasser 002bb6f04b Added tests. 2015-10-27 17:38:53 -07:00