Commit Graph

3516 Commits

Author SHA1 Message Date
Mohamed Hegazy
7f49375f3e Fix #3912: emit declaration for binding elements correctelly 2015-08-10 10:50:08 -07:00
Arthur Ozga
92f152cb8e Merge pull request #4205 from Microsoft/fixAbstractAssignabilityRestriction2
Fix abstract assignability restriction2
2015-08-07 16:01:43 -07:00
Arthur Ozga
410e4e4df7 added a clarifying comment 2015-08-07 11:07:06 -07:00
Arthur Ozga
cbb159770f fixed null de-reference 2015-08-06 17:43:06 -07:00
Arthur Ozga
1421c39d8c Fixed assignability bug 2015-08-06 17:27:43 -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
Mohamed Hegazy
fbba50b312 Fix #4194: emit type paramters in type alias declaration 2015-08-06 16:23:08 -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
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
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
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
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
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
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
5f96788ddb Implements #4105 - a string indexer in 'props' disables errors
due to surplus attributes
2015-07-31 09:55:11 -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
7c90d6251c Style and rename test. 2015-07-30 11:22:58 -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
Anders Hejlsberg
00bffe1a40 Including numeric index signatures 2015-07-29 16:50:17 -07:00
Ryan Cavanaugh
da35fef88e Correctly emit source maps when emitting JSX text under --jsx preserve 2015-07-29 14:27:41 -07:00
Ryan Cavanaugh
97e7b073f3 Merge pull request #4061 from RyanCavanaugh/fix4060
Correctly identify JSX expressions as identifier parents
2015-07-29 14:25:04 -07:00