11459 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
3a46e72bde After merge, update error numbers in baselines 2016-03-09 13:40:17 -08:00
Nathan Shively-Sanders
fa22250110 Merge branch 'master' into this-function-types 2016-03-09 13:36:42 -08:00
Nathan Shively-Sanders
32978247bd Add missed update of thisInObjectLiterals baseline 2016-03-09 13:20:49 -08:00
Nathan Shively-Sanders
4012587808 Update baselines: 'this' in object literal methods 2016-03-09 13:08:09 -08:00
Nathan Shively-Sanders
7b531fcd05 Check this expressions in object literal methods
Add a test and baseline
2016-03-09 13:06:06 -08:00
Nathan Shively-Sanders
93510e8261 Merge pull request #7451 from Microsoft/runtest-parallel-runs-lint
Always run lint, even for runtests-parallel
2016-03-09 13:05:27 -08:00
Yui
05baf3dac7 Merge pull request #7356 from Microsoft/fix7354
Concat declaration error so we report them
2016-03-09 13:02:45 -08:00
Anders Hejlsberg
cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
Vladimir Matveev
5d5fee2ef1 Merge pull request #7450 from Microsoft/noImplicitReturnsInAsync
unwrap promised typed in async function before doing 'noImplicitRetur…
2016-03-09 12:42:10 -08:00
Nathan Shively-Sanders
8a01a973bb Always run lint, even for runtests-parallel
The first runner runs lint, not the first to complete.
2016-03-09 12:40:53 -08:00
Anders Hejlsberg
614afb740d Merge pull request #7448 from Microsoft/optimizeInstantiation
Skip unnecessary instatiation of anonymous types
2016-03-09 12:40:32 -08:00
Anders Hejlsberg
4f441bd553 Adding comment to test 2016-03-09 11:37:40 -08:00
Vladimir Matveev
907ce8fb38 unwrap promised typed in async function before doing 'noImplicitReturns' check 2016-03-09 11:23:55 -08:00
Anders Hejlsberg
1d181360cc Adding tests 2016-03-09 11:03:40 -08:00
Ryan Cavanaugh
ac147b18a6 Merge pull request #7442 from Victorystick/fix-property-shorthand-emit
Fix shorthand properties for non-es6 module formats
2016-03-09 10:30:58 -08:00
Ryan Cavanaugh
2875326735 Use existing function to resolve export= declarations 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
3d948be4c6 Support module augmentation 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
132d75c267 Support UMD when targeted module uses export = 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
34cf10542c Lint 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
887adb0146 Move checks from checker to binder 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
e9f4bef3ac Address CR feedback 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
44aa7388ea UMD support 2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
b29f460641 Merge pull request #7449 from RyanCavanaugh/port6993fix
Fix duplicate errors in JSDoc function types with anon parameters
2016-03-09 09:57:11 -08:00
Oskar Segersvärd
2e23010437 Add three tests 2016-03-09 18:43:21 +01:00
Ryan Cavanaugh
5dbf252dc5 Fix duplicate errors in JSDoc function types with anon parameters
Fixes #6993
2016-03-09 09:18:54 -08:00
Anders Hejlsberg
bf97250306 Skip unnecessary instatiation of anonymous types 2016-03-09 09:14:55 -08:00
Oskar Segersvärd
ccd5352eb8 System doesn't have direct identifier access in TS's generated code. 2016-03-09 12:13:27 +01:00
Oskar Segersvärd
d742ca50f4 Fix shorthand properties for non-es6 module formats 2016-03-09 11:22:47 +01:00
Mohamed Hegazy
cc57ae0205 Merge pull request #7439 from Microsoft/moduleAugmentationWithExportEquals
Handel module augmentation with export= var + uninstantiated module
2016-03-08 21:22:28 -08:00
Mohamed Hegazy
7acf58ba52 Handel module augmentation with export= var + uninstantiated module 2016-03-08 17:16:19 -08:00
Nathan Shively-Sanders
482acccada Union this-types of unioned call signatures
And and tests and baselines
2016-03-08 13:05:00 -08:00
Anders Hejlsberg
868e53df25 Accepting new baselines 2016-03-08 11:47:18 -08:00
Anders Hejlsberg
fbda0bdd94 Adding another check for undefined 2016-03-08 11:46:47 -08:00
Anders Hejlsberg
187eaaee7f Fix issue with narrowing exported variables 2016-03-07 13:20:07 -08:00
Daniel Rosenwasser
01c329c05e Merge pull request #7396 from mattmccutchen/issue7359
Expose ts.isExternalModule as public API.
2016-03-07 10:15:06 -08:00
Anders Hejlsberg
0a25bb58a4 Make 'undefined' assignable to 'void' 2016-03-06 13:59:09 -08:00
Anders Hejlsberg
50d874e09d Improve type relationship error reporting for nullable types 2016-03-05 16:55:54 -08:00
Anders Hejlsberg
129a4f1908 Check return type includes 'undefined' in function with implicit return 2016-03-05 16:16:19 -08:00
Anders Hejlsberg
d0e4b4ae35 Treat 'return' as 'return undefined' for type checking purposes 2016-03-05 15:23:00 -08:00
Anders Hejlsberg
8db7af035d Proper handling of 'null' and 'undefined' in equals and not equals guards 2016-03-05 11:16:31 -08:00
Anders Hejlsberg
689e28d3ac Keep linter happy with fix in reduceLeft/reduceRight 2016-03-05 11:14:57 -08:00
Anders Hejlsberg
097f4564bb Remove unused variable 2016-03-05 10:07:28 -08:00
Anders Hejlsberg
2762772afd Include 'undefined' in return type for implicit or expressionless returns 2016-03-05 09:58:47 -08:00
Anders Hejlsberg
eed4093be5 Fix bugs in reduceLeft and reduceRight 2016-03-05 09:56:01 -08:00
Anders Hejlsberg
a0790fba7d Add only 'undefined' to optional parameter types 2016-03-04 17:39:56 -08:00
Anders Hejlsberg
436e70ea8f Accepting new baselines 2016-03-04 17:27:42 -08:00
Anders Hejlsberg
64f572747c Introduce comparable (a.k.a. possibly assignable) relation 2016-03-04 17:26:56 -08:00
Anders Hejlsberg
25a72d6085 Removing unused functions 2016-03-04 15:51:22 -08:00
Matt McCutchen
49172207bf Expose ts.isExternalModule as public API.
Fixes #7359
2016-03-04 18:45:42 -05:00
Mohamed Hegazy
a5354608fc Merge pull request #7392 from Microsoft/declarationEmitFixes
Declaration emit fixes
2016-03-04 15:35:43 -08:00