Commit Graph

26317 Commits

Author SHA1 Message Date
Anders Hejlsberg c8b4a2edfd Merge pull request #4153 from Microsoft/tupleTypeInference
Improved tuple type inference
2015-08-05 11:27:18 -07:00
Vladimir Matveev fd46d205f9 addressed PR feedback, added more tests 2015-08-05 10:36:47 -07:00
Ryan Cavanaugh cc3a48fc7f Use different relation for instanceof type guards 2015-08-05 09:05:06 -07:00
Anders Hejlsberg 0a71f2f3b2 Addressing CR feedback 2015-08-05 07:03:01 -07:00
Vladimir Matveev c2fe8428a9 emit space before the dot for property/element access expressions if expression part is integer const enum 2015-08-05 00:02:29 -07:00
Vladimir Matveev 03aaf7cd7c addressed PR feedback 2015-08-04 21:22:37 -07:00
Arthur Ozga f3e03dbec7 merge with master 2015-08-04 18:04:55 -07:00
Arthur Ozga 24753c4885 remove asserts 2015-08-04 17:53:01 -07:00
Tien Nguyen 8550c7de4e Address feedback. 2015-08-04 15:46:38 -07:00
Vladimir Matveev a72994d78c removed extra whitespaces, added commments 2015-08-04 15:27:16 -07:00
Vladimir Matveev 49ad395de1 resolveModuleName => resolvedModuleNames, added tests 2015-08-04 15:21:16 -07:00
Tien Nguyen 67d986af43 Fix occurance typo. 2015-08-04 14:20:49 -07:00
Tien Nguyen 6dce7ce545 Merge remote-tracking branch 'microsoft/master' into documentHighlights 2015-08-04 14:08:43 -07:00
Wesley Wigham 5324f8bf4c Fix new linter errors 2015-08-04 13:38:00 -07:00
Wesley Wigham 91f034669d Conform lint of the future, unify quotations 2015-08-04 13:33:01 -07:00
Wesley Wigham 5a6d476797 Fix as many linter errors as possible 2015-08-04 13:31:25 -07:00
Anders Hejlsberg 245f7a8ef4 Add explicit handling of tuple-to-tuple type inference 2015-08-04 11:42:58 -07:00
Mohamed Hegazy d855f47f01 Merge pull request #4120 from basarat/feat/shebang
Shebang
2015-08-04 10:00:38 -07:00
shyyko.serhiy@gmail.com 9f36eb5915 changed containsSuperCall to check if super call is computed property name 2015-08-04 19:22:40 +03:00
Tien Nguyen d53cfdcb5b Expose document highlighting to server. 2015-08-03 20:45:39 -07:00
Basarat Syed e0a7627f12 CR feedback 2015-08-04 09:30:18 +10:00
Arthur Ozga 5c8e3518e9 fixed logging 2015-08-03 16:17:59 -07:00
Arthur Ozga ae721d3a6f respond to cyrus 2015-08-03 16:03:15 -07:00
Vladimir Matveev f22c160a24 Merge remote-tracking branch 'origin/master' into reuseAndCache 2015-08-03 15:30:05 -07:00
Arthur Ozga 9d26b4eb41 Fixed newline handling 2015-08-03 15:09:49 -07:00
Arthur Ozga 8d07c6929a rename feature 2015-08-03 14:28:21 -07:00
Arthur Ozga f3395a9484 reverted a hard-coded '\r\n' 2015-08-03 13:54:49 -07:00
Arthur Ozga a759f9f0b5 added helper 2015-08-03 13:38:45 -07:00
Arthur Ozga 8e13c0a3ad Fixed a comment 2015-08-03 11:09:58 -07:00
shyyko.serhiy@gmail.com bac22846c9 fix issue https://github.com/Microsoft/TypeScript/issues/3991 2015-08-02 23:58:46 +03:00
Vladimir Matveev 24c8a8ee5f always set NodeCheckFlags when checking super expression 2015-08-02 08:51:50 -07:00
basarat 5fcf3d7c90 emit shebang 2015-08-02 12:24:18 +10:00
basarat 6ea64637e1 scanner for trivia + accept baselines 2015-08-01 18:52:15 +10:00
Mohamed Hegazy a4a1a51db6 Merge pull request #4111 from Microsoft/systemModuleWithEmitHelpers
Fix the emit helper emit inside the system modules
2015-07-31 17:19:28 -07:00
Ryan Cavanaugh a45e9a91bf Also fix the case where we are to the right of a spread expr 2015-07-31 14:05:43 -07:00
Anders Hejlsberg 8ee92bdd70 Support assignability with non-object type constraints 2015-07-31 14:03:17 -07:00
Arthur Ozga 2540905075 refactoring 2015-07-31 11:58:52 -07:00
Sheetal Nandi bfc4dd14da Emit the helpers inside the module body
Fixes #3655
2015-07-31 11:55:08 -07:00
Daniel Rosenwasser 8b8a138bd0 Use one call to 'reportDiagnostics'. 2015-07-31 10:47:36 -07:00
Daniel Rosenwasser 074a33d120 Double quotes. 2015-07-31 10:41:13 -07:00
Daniel Rosenwasser e74f0f0f59 Fix issue with exit status by ensuring the same 'diagnostics' variable is reused. 2015-07-31 10:40:07 -07:00
Arthur Ozga 082a5ade47 merged with master 2015-07-31 10:03:48 -07:00
Ryan Cavanaugh 5f96788ddb Implements #4105 - a string indexer in 'props' disables errors
due to surplus attributes
2015-07-31 09:55:11 -07:00
Ryan Cavanaugh f224b5022e Offer JSX attribute intellisense between string-literal props
and the closing tag. Fixes #4098
2015-07-31 00:36:47 -07:00
Ryan Cavanaugh 88a8d2bea8 Fixes renaming not affecting JSX closing tags (#4093) 2015-07-30 23:17:29 -07:00
Ryan Cavanaugh 7e9e920d1e Merge pull request #4079 from RyanCavanaugh/fixJsxSourceMaps
Correctly emit source maps when emitting JSX text under --jsx preserve
2015-07-30 22:11:14 -07:00
Daniel Rosenwasser 6c5050c854 Merge pull request #4088 from Microsoft/fixup3935
Fix up #3935
2015-07-31 00:30:02 -04:00
Daniel Rosenwasser 7c90d6251c Style and rename test. 2015-07-30 11:22:58 -07:00
Sheetal Nandi 00e9173505 Fixed the comments and source map emit interaction.
Fixes #4003
2015-07-30 11:11:36 -07:00
tien ea880e9669 Merge pull request #3904 from hoanhtien/tsconfigTest
Fix bug: fourslash test does not recognize tsconfig.json.
2015-07-30 10:53:51 -07:00