Commit Graph

26317 Commits

Author SHA1 Message Date
Zhengbo Li fcecd816f4 Merge pull request #3042 from zhengbli/issue3002
Add missing overload to XMLHttpRequest.send
2015-05-05 11:30:54 -07:00
Mohamed Hegazy 13e4450de0 Delete emitter.js 2015-05-05 10:57:15 -07:00
Zhengbo Li 2a098cd36c Add missing overload to XMLHttpRequest.send
Fix issue #3002
2015-05-05 10:23:51 -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 d3a2c2a042 Make the harness report a failure if the line endings differ from the baselines 2015-05-04 17:29:57 -07:00
Daniel Rosenwasser 58e21caa4a Removed 'fileMetadataNames'. 2015-05-04 16:53:34 -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 6183c81f9e Formatting for yield and yield* expressions 2015-05-04 16:01:32 -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
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