Commit Graph

2722 Commits

Author SHA1 Message Date
Jason Freeman
63d2313244 Clarify error message 2015-05-11 17:48:12 -07:00
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
853edde521 Address code review 2015-05-08 17:51:20 -07:00
Jason Freeman
1a14725c32 Fix up two comments 2015-05-08 15:35:42 -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
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
05892b1993 remove duplicate case labels 2015-05-07 12:29:47 -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
Mohamed Hegazy
4381d1655d Add new line 2015-05-07 11:27:38 -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
Mohamed Hegazy
0a28a3ec80 Remove getUnionTypeOfSubtypeConstituents 2015-05-06 13:05:12 -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
170bc5c38e Initial PR feedback 2015-05-06 12:09:26 -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
vvakame
ee4a15c602 PR feedback 2015-05-06 10:13:46 -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
0bd0b2798c Update comment 2015-05-05 15:11:14 -07:00
Yui T
a5ec06c8bf Merge branch 'master' into duplicateIdentifierBindingElement 2015-05-05 15:05:55 -07:00
Yui T
0fa240d232 Check that bindingElement is in parameter declaration and pass in correct symbol exclusion flag 2015-05-05 15:00:01 -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
Yui T
170403fc53 Remove isParameterDeclaration to utilities 2015-05-05 13:49:06 -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
Mohamed Hegazy
13e4450de0 Delete emitter.js 2015-05-05 10:57:15 -07:00
Anders Hejlsberg
6338e2b192 Fix 'resolveName' to correctly obtain local name of export default 2015-05-05 09:50:11 -07:00
vvakame
e342c95562 fix code styling 2015-05-06 01:00:17 +09:00
Anders Hejlsberg
eeb23ad96e Addressing CR feedback 2015-05-05 07:23:56 -07:00
vvakame
880ccf0221 PR feedback 2015-05-05 20:29:43 +09:00
Mohamed Hegazy
19933870a4 Update error message 2015-05-04 23:30:43 -07:00
Mohamed Hegazy
cc41daab61 Fix typo 2015-05-04 23:30:01 -07:00
Mohamed Hegazy
b7f4480656 unify file extension resolution logic 2015-05-04 22:46:31 -07:00
Vladimir Matveev
3c9a3c558f Merge pull request #3029 from Microsoft/outputJsFiles
emit input non .ts files as separate files when 'allowNonTsExtensions' a...
2015-05-04 18:02:19 -07:00
Vladimir Matveev
82796673ca use only 'separateCompilation' flag when checking of file should be emitted 2015-05-04 17:49:13 -07:00
Jason Freeman
fbce0a56de Cache element types of iterable and iterator 2015-05-04 16:01:29 -07:00
Jason Freeman
37f5e411db Remove error for having return expressions in a generator 2015-05-04 16:01:22 -07:00
Jason Freeman
9f019526a8 Add implicit any error for generator with no type annotation and no yield operands 2015-05-04 16:01:18 -07:00
Jason Freeman
ba1ed04ee2 Improve error for void generator 2015-05-04 16:01:15 -07:00
Jason Freeman
a9055b8729 Fix contextual typing of object literal methods 2015-05-04 16:01:11 -07:00
Jason Freeman
48a91b0084 Fix some crashes in the checker 2015-05-04 16:01:04 -07:00
Jason Freeman
7fce775149 Infer return types from yield and yield* expressions 2015-05-04 16:01:00 -07:00
Jason Freeman
44777b9737 Contextual typing for yield expressions 2015-05-04 16:00:57 -07:00
Jason Freeman
95bfd7c376 Assignability checking for yield and yield* expressions 2015-05-04 16:00:53 -07:00
Jason Freeman
623507c0f2 Disallow return expressions in a generator 2015-05-04 16:00:50 -07:00