5661 Commits

Author SHA1 Message Date
Jason Freeman
21415af1b2 Rebaseline error codes 2015-05-04 16:00:46 -07:00
Jason Freeman
eada0cd4a7 Yield and yield* have type any 2015-05-04 16:00:43 -07:00
Jason Freeman
65222d6ef1 Check that generator return type is assignable from its IterableIterator type 2015-05-04 16:00:39 -07:00
Jason Freeman
a9e1d48c7d Simplify global generic type instantiation constructors 2015-05-04 16:00:36 -07:00
Jason Freeman
5c48620b17 Move getIteratedType out of checkIteratedType 2015-05-04 16:00:33 -07:00
Jason Freeman
be5557a644 Formatting for generators 2015-05-04 16:00:29 -07:00
Jason Freeman
7f5a89ae5e Disallow * token on overload signatures 2015-05-04 16:00:25 -07:00
Jason Freeman
d52c224697 Disallow generators in an ambient context 2015-05-04 16:00:22 -07:00
Jason Freeman
124fdb6048 Allow yield expressions, and allow generators only in ES6 and higher 2015-05-04 16:00:18 -07:00
Jason Freeman
8dac1bf033 Add some tests for yield* 2015-05-04 16:00:14 -07:00
Jason Freeman
8aa62b466d Improve yield context error message 2015-05-04 16:00:10 -07:00
Jason Freeman
d47f3be42e Make expression optional in YieldExpression 2015-05-04 16:00:07 -07:00
Mohamed Hegazy
15f4b58d6c Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
Get type definition at position
2015-05-04 14:51:10 -07:00
Mohamed Hegazy
11166d2f08 Merge branch 'kmashint-master' 2015-05-04 13:23:24 -07:00
Mohamed Hegazy
91fedf4df1 Update description message and variable names 2015-05-04 13:21:39 -07:00
Vladimir Matveev
bd47ae4886 Merge pull request #3001 from Microsoft/formattingOnChainedCallbacks
fix formatting for chained callbacks
2015-05-04 12:46:08 -07:00
Mohamed Hegazy
07719e32f7 Merge branch 'master' of https://github.com/kmashint/TypeScript into kmashint-master 2015-05-04 12:42:54 -07:00
Yui
e7447a1f43 Merge pull request #3023 from Microsoft/updateBaselineWhenMergeConformance
Update baselines from merging conformance test
2015-05-04 11:35:50 -07:00
Yui T
e0ec6e6e71 Update baselines 2015-05-04 11:18:25 -07:00
Yui
fce012d370 Merge pull request #2735 from Microsoft/conformanceParameterDecl
Conformance test for Spec Change in Section 3.8.2.2 parameter Declaration and 6.4 Destructuring parameter declarations
2015-05-04 10:50:53 -07:00
Yui
183c1c47ab Merge pull request #2753 from Microsoft/conformanceArrayLiteral
Conformance test for update in section 4.6 Array Literal
2015-05-04 10:50:41 -07:00
Yui
3da13152f0 Merge pull request #2761 from Microsoft/conformanceContextuallyTypedFuncExp
Conformance test for update spec section 4.9.3 contextual typing in function expression
2015-05-04 10:48:42 -07:00
Yui
75c0bbcfa3 Merge pull request #2773 from Microsoft/conformanceDestructuringAssignment
Conformance test spec change in section 4.17.1 destructuring assignment and 5.1.2 variable declaration conformance tests
2015-05-04 10:47:58 -07:00
Yui
031c344bd6 Merge pull request #2785 from Microsoft/conformanceTypeGuard
Conformance for spec update section 4.20 Add additional tests for typeguard for class or object property
2015-05-04 10:47:06 -07:00
Yui
7a167f26ca Merge pull request #2792 from Microsoft/conformanceConstEnum
Conformance for spec update section 9.4, 12.1.4 const enum
2015-05-04 10:46:21 -07:00
Yui
80103b086a Merge pull request #2814 from Microsoft/conformanceContextuallyTypedExp
Conformance test for 4.19 Contextually Typed Expressions
2015-05-04 10:45:56 -07:00
Mohamed Hegazy
7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Mohamed Hegazy
80cff5bf0a Merge pull request #3020 from Microsoft/exposeScanner
Fix #3012: expose scanner
2015-05-04 10:00:56 -07:00
Mohamed Hegazy
7327044410 Fix #3012: expose scanner 2015-05-04 09:51:29 -07:00
Zhengbo Li
282c1d2139 Merge pull request #3016 from zhengbli/fixFormatConfigurationIssue
Fix host formatting configuration issues
2015-05-03 23:03:06 -07:00
Vladimir Matveev
5f3e7dec9a fix formatting 2015-05-03 22:37:11 -07:00
Daniel Rosenwasser
4cc1848a17 Merge pull request #2996 from Microsoft/lastOrUndefinedReplacement
Replace awkward last-element selection pattern with 'lastOrUndefined'
2015-05-03 22:28:51 -07:00
Zhengbo Li
d580063083 Fix host formatting configuration issues 2015-05-03 15:31:07 -07:00
Mohamed Hegazy
3eaf2cf724 Merge pull request #3011 from frankwallis/master
Rename parameter static -> isStatic, fixes 'static is a reserved identif...
2015-05-03 14:31:08 -07:00
Frank Wallis
76dceb89e4 Rename parameter static -> isStatic, fixes 'static is a reserved identifier' error when running in strict mode (#3006) 2015-05-03 19:14:09 +01:00
kmashint
be3e3e7646 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:18:20 -04:00
kmashint
86bd1fc894 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:51 -04:00
kmashint
47c4c125fe Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:45 -04:00
kmashint
2e0a55c4d3 Compiler flag to specify line ending #1693 unit tests 2015-05-03 02:07:39 -04:00
kmashint
bcdf5bba64 Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:33 -04:00
kmashint
c783e3781a Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:28 -04:00
kmashint
c1d2aeab84 Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:18 -04:00
Keith Mashinter
16d7e5cad7 Compiler flag to specify line ending #1693 fix whitespace 2015-05-03 02:07:13 -04:00
Keith Mashinter
532f92b88f Compiler flag to specify line ending #1693 2015-05-03 02:07:03 -04:00
Vladimir Matveev
432ac30d3c addressed PR feedback, split conditional expression into multiple lines 2015-05-02 13:36:50 -07:00
Vladimir Matveev
f5b13bdb6d fix formatting for chained callbacks 2015-05-01 23:13:23 -07:00
Daniel Rosenwasser
d5c9857e60 Whoops. 2015-05-01 18:40:58 -07:00
Daniel Rosenwasser
9460fb580d Use 'lastOrUndefined' where appropriate in the services layer. 2015-05-01 18:34:37 -07:00
Daniel Rosenwasser
4ebfee2051 Use 'lastOrUndefined' where appropriate in the compiler. 2015-05-01 18:34:26 -07:00
Ron Buckton
1625a6c314 Merge pull request #2982 from Microsoft/fixPromiseDeclaration
Updated ES6 declarations for Promise, updated baselines
2015-05-01 17:11:29 -07:00