Commit Graph

5903 Commits

Author SHA1 Message Date
Arthur Ozga
1421c39d8c Fixed assignability bug 2015-08-06 17:27:43 -07:00
Yui T
01667eff1c Preserve comment in arguments of call expression and object literal 2015-08-06 17:20:35 -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
Vladimir Matveev
02539d91e2 deduplicate module dependencies 2015-08-06 16:38:53 -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
Vladimir Matveev
a69b04145d delete entry from the cache when referenced file is removed, added tests 2015-08-06 16:23:21 -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
Vladimir Matveev
6455b8e59b merge with master 2015-08-06 16:14:51 -07:00
Arthur Ozga
3e59651152 simplified docParams 2015-08-06 16:13:28 -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
Anders Hejlsberg
b3dd18a463 Allow partial matches in union type signatures 2015-08-06 15:20:17 -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
Arthur Ozga
400fc30e9d simplified a conditional 2015-08-06 14:31:52 -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
Arthur Ozga
6b1838caec change '*' to '-' in lists 2015-08-06 08:31:29 -07:00
Vladimir Matveev
eab6911bce emit export declarations for system modules as a part of 'execute' method 2015-08-05 21:45:04 -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
Arthur Ozga
4ea3bb6485 Make 'predicate' optional and DRY 2015-08-05 16:22:27 -07:00
Tien Nguyen
1cc0e5feee Always indent PropertyAccessExpression. 2015-08-05 15:03:49 -07:00
Vladimir Matveev
fc1e89ace5 addressed CR feedback: merged getDefaultModuleResolver and resolveModuleName into one function, added comments 2015-08-05 14:30:41 -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
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