Commit Graph

1620 Commits

Author SHA1 Message Date
shyyko.serhiy@gmail.com
b4f82aa3f7 fixed indent issue, changed "for" loop to "for of" loop 2015-07-18 01:36:59 +03:00
shyyko.serhiy@gmail.com
a756b561c5 fixed issue #3859 2015-07-17 20:54:14 +03:00
Daniel Rosenwasser
ca3c14f8a2 Merge branch 'master' into semanticBindingPropNames
Conflicts:
	src/harness/fourslash.ts
2015-07-15 16:47:07 -07:00
Daniel Rosenwasser
fdd1f30a95 Enable retrieving the type of a binding property name when an initializer/type annotation is present. 2015-07-15 15:56:13 -07:00
Jason Freeman
742b2ad8a2 Merge pull request #3856 from Microsoft/widenTuples
Widening for tuples
2015-07-14 14:17:37 -07:00
Jason Freeman
f344ec10c4 Merge pull request #3822 from Microsoft/typeArgumentInferenceApparentType
Take the apparent type of the source during type argument inference
2015-07-14 14:17:17 -07:00
Jason Freeman
6fc08ea3e6 Clean up and address CR feedback 2015-07-14 13:44:40 -07:00
Jason Freeman
dfa108f4ec Allow tuples to be widened 2015-07-14 11:50:27 -07:00
Arthur Ozga
7664f3410c Merge pull request #3722 from Microsoft/abstractConstructorAssignability
Abstract constructor assignability
2015-07-13 16:36:50 -07:00
Arthur Ozga
50f254b2d2 Fixed Testing 2015-07-10 18:38:04 -07:00
Jason Freeman
59be264be5 Take the apparent type of the source in type argument inference 2015-07-10 18:17:26 -07:00
Arthur Ozga
99d640f0f0 Actually move check outside the loop 2015-07-10 17:53:55 -07:00
Arthur Ozga
4842501ecb Move assignability test outside inner loop 2015-07-10 13:44:59 -07:00
Ron Buckton
a894f04495 Merge branch 'master' into moveTypeSerializationToEmitter 2015-07-10 13:18:56 -07:00
Ron Buckton
990ce29c00 PR feedback 2015-07-10 13:13:42 -07:00
Arthur Ozga
dc854158ab Made check more readable 2015-07-10 11:48:09 -07:00
Arthur Ozga
4627f9c69b Updated Error Message 2015-07-10 11:42:22 -07:00
Yui T
f16f9d129a Merge branch 'master' of https://github.com/Microsoft/TypeScript into completionListWithLocalName 2015-07-10 11:04:21 -07:00
Dan Quirk
9c2a7705b0 merge master 2015-07-09 18:16:21 -07:00
Yui T
d0b8002701 Address code review 2015-07-09 16:34:30 -07:00
Jason Freeman
9d6dc36e51 Merge pull request #3798 from Microsoft/typeArgumentInferenceClassExpressions
Type argument inference for class expressions
2015-07-09 14:56:49 -07:00
Mohamed Hegazy
e336701ba8 Merge pull request #3763 from tinganho/typePredicateDeclEmit
Fixes emit of type predicate in declaration files
2015-07-09 12:34:43 -07:00
Tingan Ho
4e644e5ab8 Fixes spacing issue 2015-07-10 03:27:31 +08:00
Jason Freeman
f37fc1d42e Infer types to statics in a class expression 2015-07-09 11:31:08 -07:00
shyyko.serhiy@gmail.com
43307edd4a fixed issue https://github.com/Microsoft/TypeScript/issues/3486 2015-07-09 20:27:05 +03:00
Tingan Ho
28976a0e34 Adds type predicate signature display and addresses CR feedback 2015-07-09 12:10:39 +08:00
Dan Quirk
5dfa6104f9 Turn off a few rules and more cleanup post merge 2015-07-08 17:42:26 -07:00
Dan Quirk
be1371d3cd Merge master 2015-07-08 15:35:49 -07:00
Yui
42bff6bc77 Merge pull request #3772 from Microsoft/allowModifier
Allow modifier on class member for classDeclaration/classExpression inside function
2015-07-08 14:34:41 -07:00
Yui T
8e15a42632 Address code review 2015-07-08 13:56:27 -07:00
CyrusNajmabadi
aaf0f78553 Merge pull request #3778 from Microsoft/noPushApply
Don't call push.apply, it can stack overflow with large arrays.
2015-07-08 11:25:48 -07:00
Cyrus Najmabadi
e0e9bcff46 Don't call push.apply, it can stack overflow with large arrays. 2015-07-07 17:44:22 -07:00
Yui T
cdc999a6c5 Only check if method declaration has modifier when method is declared in object literal expression 2015-07-07 16:26:48 -07:00
Ryan Cavanaugh
8f3bce121d Actually fix the bug this time. 2015-07-07 16:22:04 -07:00
Ryan Cavanaugh
24d22da804 Merge remote-tracking branch 'upstream/master' into fix3737 2015-07-07 15:36:13 -07:00
Yui T
b5b1b7b5bb Use symbol.getName for classExpression and functionExpression since it now correctly represent declared-name. 2015-07-07 15:26:01 -07:00
Yui T
872fdcf444 Merge branch 'master' into completionListWithLocalName
Conflicts:
	tests/cases/fourslash/renameLocationsForClassExpression01.ts
2015-07-07 15:17:42 -07:00
Daniel Rosenwasser
003c3a0641 Merge branch 'master' into semanticBindingPropNames 2015-07-07 14:48:30 -07:00
Ryan Cavanaugh
3ccaa0ee26 Cleanup 2015-07-07 14:33:59 -07:00
Ryan Cavanaugh
99fc99f3bc Improved fix from @JsonFreeman 2015-07-07 14:27:57 -07:00
Yui T
48ae5ea6f8 Remove check if node is a block 2015-07-07 13:25:39 -07:00
Ryan Cavanaugh
006356d2a3 Whitespace 2015-07-07 12:53:53 -07:00
Ryan Cavanaugh
311d20fa99 Fix bug #3737 (exported JSX classes props not validated) 2015-07-07 12:46:58 -07:00
Daniel Rosenwasser
00f7ba155b Merge branch 'master' into semanticBindingPropNames 2015-07-07 12:40:02 -07:00
Ryan Cavanaugh
1568bfd642 Mark 'React' symbol as used and error if it doesn't exist 2015-07-07 11:32:57 -07:00
Yui T
0148915daf Fix comment 2015-07-07 09:18:08 -07:00
Yui T
f4cd1ac868 Address code review, handle type parameter in completion list inside class expression 2015-07-06 17:03:33 -07:00
Cyrus Najmabadi
3a26cd21f9 Adding comments. 2015-07-06 15:31:22 -07:00
Cyrus Najmabadi
1dfcc3ec0e Merge branch 'master' into cancellableDiagnostics
Conflicts:
	src/services/services.ts
	src/services/shims.ts
2015-07-06 15:19:57 -07:00
Yui T
b01e4d82c3 Address code review 2015-07-06 14:18:47 -07:00