Commit Graph
12444 Commits
Author SHA1 Message Date
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
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 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
Daniel Rosenwasser 79bea92ed6 Merge branch 'master' into testPerf
Conflicts:
	src/harness/harness.ts
2015-05-04 15:16:36 -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
Vladimir Matveev 60f3fe3de2 emit input non .ts files as separate files when 'allowNonTsExtensions' and 'separateCompilation' flags are specified (used in 'transpile' related scenarios) 2015-05-04 11:21:35 -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 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
Anders Hejlsberg 4186167015 Removing 'resolvingType' special type 2015-05-03 15:05:10 -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 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
Anders Hejlsberg 2792614f8b Improved circularity detection for types 2015-05-02 16:35:58 -07:00
Vladimir Matveev 432ac30d3c addressed PR feedback, split conditional expression into multiple lines 2015-05-02 13:36:50 -07:00
vvakame ab10d509f5 support instantiate signature, it has type parameters. 2015-05-02 15:27:06 +09: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
Daniel Rosenwasser 9fec328778 Moved gargantuan arrow function that obstructed the actual logic of the method. 2015-05-01 17:13:28 -07:00
Daniel Rosenwasser a27de3f7d8 Moved 'lightMode' flag to Harness. 2015-05-01 17:08:48 -07:00
Ron Buckton b6f76fd05b Updated type name 2015-05-01 17:02:43 -07:00
Ron Buckton 22515d452d Updated ES6 declarations for Promise, updated baselines 2015-05-01 17:02:39 -07:00
Daniel Rosenwasser d5d7f9f504 Document/rename flag used in compiler. 2015-05-01 16:53:55 -07:00
Mohamed Hegazy 689c09cb10 Merge branch 'whitneyit-feature/noEmitExtends' 2015-05-01 16:41:32 -07:00
Mohamed Hegazy 3c99527e6e Add tests for __metadata and __param 2015-05-01 16:30:30 -07:00