1748 Commits

Author SHA1 Message Date
Jason Freeman
cb198aa7f2 Disallow yield expressions inside a class 2015-05-11 17:40:38 -07:00
Jason Freeman
670ad05eec Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-11 13:34:31 -07:00
Yui T
b70276538b Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-08 18:05:57 -07:00
Yui T
38b1bb0bfa Add testcases 2015-05-08 17:51:46 -07:00
Jason Freeman
7c6eed727f Accept baselines after merge 2015-05-08 15:45:16 -07:00
Jason Freeman
a14ec69316 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators 2015-05-08 15:33:18 -07:00
Jason Freeman
e0931d8629 Type check all files when emitting a file under -out 2015-05-08 15:03:55 -07:00
Jason Freeman
80f33dd3ea Make boolean compiler options in harness true only if they say 'true' 2015-05-08 15:03:44 -07:00
Mohamed Hegazy
5129d7cf9c Merge pull request #3032 from Microsoft/supportedExtensions
unify file extension resolution logic
2015-05-07 14:27:43 -07:00
Mohamed Hegazy
ce9f7b431f Merge branch 'master' into supportedExtensions 2015-05-07 11:28:15 -07:00
Mohamed Hegazy
69f94cde8e Merge branch 'master' into refactorNarrowTypeByInstanceOf 2015-05-07 11:27:42 -07:00
Jason Freeman
dd6c87e302 Merge pull request #3058 from Microsoft/promiseVoidErrorCallback
Fix typing for Promises so that a void error callback doesn't mess up inference
2015-05-07 10:33:22 -07:00
Mohamed Hegazy
42b56cf671 Add a regression test 2015-05-06 20:25:12 -07:00
Mohamed Hegazy
8b43b3d18c Update test 2015-05-06 20:18:32 -07:00
Mohamed Hegazy
ac9b16cff3 refactor narrowTypeByInstanceof 2015-05-06 20:11:31 -07:00
Ron Buckton
7acc488757 Removed Object.defineProperty for function name 2015-05-06 17:23:04 -07:00
Jason Freeman
498f315256 Fix typing for Promises so that a void error callback doesn't mess up inference 2015-05-06 15:53:01 -07:00
Mohamed Hegazy
5e94ce65ed Merge branch 'typeguardsByConstructorSigniture' of https://github.com/vvakame/TypeScript into vvakame-typeguardsByConstructorSigniture 2015-05-06 12:44:45 -07:00
Jason Freeman
cf4ca1fc3c Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-06 11:42:26 -07:00
Jason Freeman
8c1f5da76a Always call getReturnTypeOfSignature on a generator from checkFunctionLikeDeclaration 2015-05-06 11:28:13 -07:00
Mohamed Hegazy
e43680de11 show more clearly error message when found missing module name
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-06 10:13:32 -07:00
vvakame
776f390786 PR feedback 2015-05-06 21:18:15 +09:00
Yui T
a5ec06c8bf Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-05 15:05:55 -07:00
Yui T
cabfdba732 Add tests for duplicate identifier in parameter declaration 2015-05-05 15:01:01 -07:00
Yui T
d701f22a7d update baselines 2015-05-05 15:00:41 -07:00
Jason Freeman
ce9dc32704 Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-05-05 14:11:09 -07:00
Anders Hejlsberg
7b860f5df0 Merge pull request #2991 from Microsoft/circularVar
Error when variable is circularly referenced in type annotation
2015-05-05 13:07:29 -07:00
Anders Hejlsberg
69de046074 Merge pull request #3041 from Microsoft/fixCircularAliasError
Fix circular alias error
2015-05-05 12:24:14 -07:00
Anders Hejlsberg
f08d3793a3 Adding regression test 2015-05-05 10:02:29 -07:00
Mohamed Hegazy
19933870a4 Update error message 2015-05-04 23:30:43 -07:00
Jason Freeman
08cffc598c Rebaseline tests 2015-05-04 17:30:06 -07:00
Jason Freeman
5fcc4e9a49 Remove Generator interface from ES6 lib. We may need to add a better typing later 2015-05-04 16:44:26 -07:00
Jason Freeman
28d9c6cd7e Add tests for generators 2015-05-04 16:15:55 -07:00
Jason Freeman
9133ab62ee Adjust symbol baselines after rebase 2015-05-04 16:01:25 -07:00
Jason Freeman
d163f8326d Accept baselines 2015-05-04 16:01:08 -07:00
Jason Freeman
21415af1b2 Rebaseline error codes 2015-05-04 16:00:46 -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
Mohamed Hegazy
07719e32f7 Merge branch 'master' of https://github.com/kmashint/TypeScript into kmashint-master 2015-05-04 12:42:54 -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