Commit graph

5289 commits

Author SHA1 Message Date
Ryan Cavanaugh 921dbb7043 Merge pull request #4099 from RyanCavanaugh/betterTsxCompletion
Offer JSX attribute intellisense between string-literal props
2015-08-06 15:42:50 -07:00
tien 6980d56bfd Merge pull request #4139 from hoanhtien/documentHighlights
Expose document highlighting to server.
2015-08-06 14:45:52 -07:00
Daniel Rosenwasser 54f3b414f7 Merge pull request #4124 from ShyykoSerhiy/fix-3991
Fix for "Error for missing 'super' call is misleading"
2015-08-06 14:39:32 -07:00
Tien Nguyen 8a943ee56e Merge remote-tracking branch 'microsoft/master' into documentHighlights
Conflicts:
	src/harness/fourslash.ts
2015-08-06 14:35:05 -07:00
tien ea3eb01465 Merge pull request #4172 from hoanhtien/fixFormatOnChainedCallbacksIssue
Always indent PropertyAccessExpression.
2015-08-06 14:24:11 -07:00
Tien Nguyen 91452bf3ae Use combinesPath. 2015-08-06 14:15:00 -07:00
Tien Nguyen bf7d923e09 Add filesToSearch to documentHighlights request. 2015-08-06 14:01:36 -07:00
Daniel Rosenwasser 2b8ef5e6fd Merge pull request #4008 from weswigham/fix-many-linter-errors
Fix as many linter errors as possible
2015-08-05 17:09:46 -07:00
Tien Nguyen 71e6f3a947 Address PR feedback. 2015-08-05 17:09:01 -07:00
Tien Nguyen 1cc0e5feee Always indent PropertyAccessExpression. 2015-08-05 15:03:49 -07:00
Ryan Cavanaugh 8a6426272e Merge pull request #4165 from RyanCavanaugh/useAssignabilityForInstanceofTypeguard
Use different relation for `instanceof` type guards
2015-08-05 14:06:56 -07:00
Ryan Cavanaugh 748d7564a6 Add tests and fix spelling 2015-08-05 13:30:45 -07:00
Vladimir Matveev 6ae746e1ad Merge pull request #4157 from Microsoft/spaceAfterDotInConstEnums
emit space before the dot for property/element access expressions if …
2015-08-05 12:34:11 -07:00
Anders Hejlsberg 5cdb0d6b00 Merge pull request #4112 from Microsoft/nonObjectTypeConstraints
Support non-object type constraints
2015-08-05 11:44:14 -07:00
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
Tien Nguyen 8550c7de4e Address feedback. 2015-08-04 15:46:38 -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
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
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
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 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
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
Mohamed Hegazy 4b55d38645 Merge pull request #3935 from pcan/issue_3932
Added null-check in 'emitSerializedTypeNode'
2015-07-30 10:44:23 -07:00
Anders Hejlsberg 89e71756ef Merge pull request #4074 from Microsoft/relaxIndexSignatures
Relax index signature checks for type any
2015-07-30 10:09:03 -07:00
Daniel Rosenwasser 6691ebd638 Parameterize 's' to remove implicit 'any'. 2015-07-30 08:11:14 -07:00
unknown e4a1c97b7d Address comments. 2015-07-29 18:57:48 -07:00