Commit Graph

5305 Commits

Author SHA1 Message Date
Ryan Cavanaugh
5f6ac45bde S p a c e s 2015-08-07 16:03:45 -07:00
Ryan Cavanaugh
555297a62b Fix case where # occurs after > in JSX expression 2015-08-07 15:46:36 -07:00
tien
2f9248386e Merge pull request #4203 from hoanhtien/fixOccurrenceTypos
Fix occurrence typos
2015-08-06 16:55:15 -07:00
Mohamed Hegazy
24aa58ebee Merge pull request #4202 from Microsoft/fix4194
Fix #4194: emit type paramters in type alias declaration
2015-08-06 16:48:58 -07:00
Mohamed Hegazy
d58ec43b3f Fix #4159: look up the type alias paramter within the context of the parent type alias declaration 2015-08-06 16:43:15 -07:00
Ron Buckton
bb4aa2c489 Merge pull request #3899 from Microsoft/fixTypeResolutionInTypeSerialization
Fix emit for decorator type metadata.
2015-08-06 16:32:24 -07:00
Tien Nguyen
013b92c3e7 Use template string to shorten code. 2015-08-06 16:28:45 -07:00
Mohamed Hegazy
fbba50b312 Fix #4194: emit type paramters in type alias declaration 2015-08-06 16:23:08 -07:00
Tien Nguyen
3f3aea1380 Fix mistyped occurrence. 2015-08-06 16:17:19 -07:00
Mohamed Hegazy
9a29a827ce Fix #4025: report options diagnostics 2015-08-06 16:10:21 -07:00
Ryan Cavanaugh
ba7759227b Merge pull request #4106 from RyanCavanaugh/allowTsxStringIndexers
Implements #4105 - a string indexer in 'props' disables errors due to surplus attributes
2015-08-06 15:58:54 -07:00
Ron Buckton
f0458f4e60 Merge branch 'master' into fixTypeResolutionInTypeSerialization 2015-08-06 15:45:24 -07:00
Ryan Cavanaugh
085f0df455 Merge pull request #4096 from RyanCavanaugh/renameClosingTags
Fixes renaming not affecting JSX closing tags (#4093)
2015-08-06 15:42:58 -07:00
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