2222 Commits

Author SHA1 Message Date
Yui T
732376a73b Merge branch 'master' into commentsNotPreserveForCallExp 2015-08-12 17:46:39 -07:00
Mohamed Hegazy
7f49375f3e Fix #3912: emit declaration for binding elements correctelly 2015-08-10 10:50:08 -07:00
Yui T
9bfba56c60 Add baseline for error baseline 2015-08-07 16:56:25 -07:00
Arthur Ozga
92f152cb8e Merge pull request #4205 from Microsoft/fixAbstractAssignabilityRestriction2
Fix abstract assignability restriction2
2015-08-07 16:01:43 -07:00
Yui T
7de321d167 Update baselines 2015-08-06 17:28:30 -07:00
Arthur Ozga
e8497d3d8a Updated baselines 2015-08-06 17:28:16 -07:00
Yui T
8f18912d28 Add tests for preserving comments 2015-08-06 17:28:11 -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
Ron Buckton
8ea1a226c2 Updated baselines 2015-08-06 16:14:14 -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
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
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
Anders Hejlsberg
81544d4652 Adding test case 2015-08-04 11:43:13 -07:00
Mohamed Hegazy
d855f47f01 Merge pull request #4120 from basarat/feat/shebang
Shebang
2015-08-04 10:00:38 -07:00
Basarat Syed
9754ec10e2 test(shebang) error case 2015-08-03 11:24:33 +10:00
shyyko.serhiy@gmail.com
d8e8258e92 added baselines 2015-08-03 00:31:23 +03:00
Vladimir Matveev
24c8a8ee5f always set NodeCheckFlags when checking super expression 2015-08-02 08:51:50 -07:00
basarat
82d5a9c1bb test(shebang) desired outcome 2015-08-02 11:25:55 +10:00
basarat
6ea64637e1 scanner for trivia + accept baselines 2015-08-01 18:52:15 +10:00
Anders Hejlsberg
294e13da96 Adding new test 2015-07-31 14:05:47 -07:00
Anders Hejlsberg
6beb24edc8 Accepting new baselines 2015-07-31 14:05:36 -07:00
Sheetal Nandi
bfc4dd14da Emit the helpers inside the module body
Fixes #3655
2015-07-31 11:55:08 -07:00
Sheetal Nandi
cd018e1af4 Adding testcase for extends helper emit when generating system module
Testcase for #3655
2015-07-31 11:55:04 -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
709445799d Accepted baselines. 2015-07-30 13:29:02 -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
0d39fd95d2 Adding numeric index signature to test 2015-07-30 10:01:34 -07:00
Ryan Cavanaugh
d4bb3539e0 Add a source map test for JSX preserve 2015-07-29 14:49:57 -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
Anders Hejlsberg
0ab2b2a069 Accepting new baselines 2015-07-29 11:32:01 -07:00
Yui
0a9fb1a7b5 Merge pull request #3946 from Microsoft/disambiguating
Fix resolution when block-scoped variable names collide with those of other entities
2015-07-28 16:01:48 -07:00
Yui T
9d1f051e84 Update test baseline 2015-07-28 15:34:02 -07:00
Ryan Cavanaugh
9f7e71d9e8 Merge remote-tracking branch 'upstream/master' into fix4060
Conflicts:
	src/compiler/emitter.ts
2015-07-28 15:32:53 -07:00
Ryan Cavanaugh
da39a8be10 Don't forget about spread attributes 2015-07-28 15:31:39 -07:00
Jason Freeman
bbadd702e7 Merge pull request #4022 from Microsoft/defaultInitializer
Default initializers on required parameters
2015-07-28 15:27:04 -07:00