Commit Graph

32750 Commits

Author SHA1 Message Date
Mohamed Hegazy ac9b16cff3 refactor narrowTypeByInstanceof 2015-05-06 20:11:31 -07:00
Ron Buckton 93e2f91398 Merge pull request #3063 from Microsoft/removeDefineFunctionName
Removed Object.defineProperty for function name
2015-05-06 17:41:15 -07:00
Ron Buckton e82e8419c2 Added emit for async functions in ES6 2015-05-06 17:33:58 -07:00
Ron Buckton 6be18f821e Updated LKG 2015-05-06 17:30:41 -07:00
Ron Buckton 7acc488757 Removed Object.defineProperty for function name 2015-05-06 17:23:04 -07:00
Daniel Rosenwasser 98a8b5c1aa Clean up 'collateOutputs'. 2015-05-06 16:40:56 -07:00
Daniel Rosenwasser 4bd8e809d6 Modified test, updated baselines. 2015-05-06 16:37:59 -07:00
Daniel Rosenwasser 89fa211d9e The caller can now specify whether to observe light mode in 'createSourceFileAndAssertInvariants'. 2015-05-06 16:37:00 -07:00
Daniel Rosenwasser fa50177c5d Clean up unused files in the harness. 2015-05-06 16:27:21 -07:00
Vladimir Matveev a33bb6bb19 use canonical file name when asking the host if file exists 2015-05-06 16:00:50 -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
Daniel Rosenwasser e26b953ce0 Removed runnerServer.ts 2015-05-06 14:34:44 -07:00
Mohamed Hegazy 14362b0ca5 Merge branch 'vvakame-typeguardsByConstructorSigniture' 2015-05-06 13:05:41 -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
Mohamed Hegazy 61a404d3e5 Update LKG 2015-05-06 11:26:55 -07:00
Mohamed Hegazy 63369251b6 Merge pull request #3047 from bryanforbes/fix-tsserver-config-parse
ProjectService passing incorrect object to parseConfigFile()
2015-05-06 10:32:30 -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
Dan Quirk 78f81efd3a Merge pull request #3050 from tinganho/iojs
Fixes iojs environment check issue
2015-05-05 19:23:25 -07:00
Tingan Ho 0c2ae8fc53 Fixes iojs environment check issue 2015-05-06 10:12:37 +08:00
Daniel Rosenwasser e2445c6a41 Remove 'assertInvariants', only do invariant-checking outside of light mode. 2015-05-05 18:19:15 -07:00
Ron Buckton d19a200750 Added types, scan, parse, and check for async functions 2015-05-05 17:57:21 -07:00
Daniel Rosenwasser 79a60bd410 Accepted baselines. 2015-05-05 17:51:51 -07:00
Daniel Rosenwasser f5bcd9d157 '/// <reference no-default-lib="true"/>' -> '// @noLib: true' 2015-05-05 17:38:45 -07:00
Daniel Rosenwasser be86300667 Accepted baselines. 2015-05-05 17:31:27 -07:00
Daniel Rosenwasser 8add21446b Update tests to use '@noLib: true'. 2015-05-05 17:29:49 -07:00
Daniel Rosenwasser d2857751b2 Always include 'lib.d.ts' last in tests unless '@noLib' is specified. 2015-05-05 17:27:31 -07:00
Daniel Rosenwasser 8a8d6a3c5b Merge branch 'master' into testPerf 2015-05-05 16:03:20 -07: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 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
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
Bryan Forbes 884ca4edbc ProjectService passing incorrect object to parseConfigFile()
The return signature of `readConfigFile()` changed in
f8424d0b0c and the code using it in
`ProjectService` was never updated to match. This lead to the language
services attempting to parse an object that doesn't match what is
expected and using the default compiler options instead of what is
defined in `tsconfig.json`. Similarly, the return value of the
closure in `getTSConfigFileInfo()` was never updated to match in
both places it returns.
2015-05-05 16:51:14 -05: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
Jason Freeman 6c934aa288 Merge pull request #3030 from Microsoft/lineEndings
Harness now reports a difference in line endings when comparing baselines
2015-05-05 12:17:46 -07:00
Mohamed Hegazy e62db556f6 Update LKG 2015-05-05 11:47:10 -07:00
Jason Freeman ed7df8138f Merge branch 'master' of https://github.com/Microsoft/TypeScript into lineEndings 2015-05-05 11:37:08 -07:00
Jason Freeman a25534bd8d Remove unnecessary LineEndingSensitive option from BaselineOptions 2015-05-05 11:36:21 -07:00
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