Commit Graph

18857 Commits

Author SHA1 Message Date
Sheetal Nandi 3d6950d023 When emitting use jsx factory entity expression if provided 2016-11-09 16:40:11 -08:00
Arthur Ozga c650c33bb5 Update tests 2016-11-09 16:37:48 -08:00
Arthur Ozga b1e97b370f Get one fix per interface 2016-11-09 16:37:26 -08:00
Sheetal Nandi 06affa6672 Resolve first identifier of the jsxFactory as part of type check 2016-11-09 15:35:54 -08:00
Ron Buckton b5cc96c87d Merge branch 'asyncGeneratorsUpLevel' into asyncGenerators 2016-11-09 14:57:23 -08:00
Ron Buckton 549ac8f7ae Updated baselines 2016-11-09 14:41:11 -08:00
Ron Buckton bd867785bc type checking for pseudoiterable 2016-11-09 14:40:47 -08:00
Sheetal Nandi f7bac98948 Verify that jsxFactory is either identifier or qualified name 2016-11-09 14:32:42 -08:00
Nathan Shively-Sanders 9b1f43bdda Add strictNullChecks test for object spread 2016-11-09 13:40:21 -08:00
Nathan Shively-Sanders fcf32c444f Treat | undefined like optionality in spread type 2016-11-09 13:39:42 -08:00
Sheetal Nandi 4b8a55793a Add support for taking in jsxFactory option and report errors for invalid combinations 2016-11-09 12:23:59 -08:00
about-code 02ee7c7953 Merge remote-tracking branch 'upstream/master' 2016-11-09 21:12:56 +01:00
about-code b623f3771e Fix #442: (es3, es5, es6+) Show compiler errors for conflicting properties. 2016-11-09 21:08:56 +01:00
Sheetal Nandi 78bb276216 Merge branch 'master' into errorReportingInJsFile 2016-11-09 11:38:11 -08:00
Nathan Shively-Sanders 01969475cf Improve nested destructuring test for ESNext emit
Now with object destructuring inside array destructuring inside object
destructuring! Each with their own array/object rest!

Also updates baselines.
2016-11-09 10:51:56 -08:00
Nathan Shively-Sanders 214ce38a6a Downlevel array destructuring to ES6 in object rest
Previously array destructuring inside an object destructuring with an
object rest would downlevel the array destructuring to ES5. This breaks
if the code that targets ES2015 is using iterators instead of arrays
since iterators don't support [0] or .slice that the ES5 emit uses.
2016-11-09 10:47:54 -08:00
Sheetal Nandi 6456325973 Handle abstract and const modifiers 2016-11-09 10:39:46 -08:00
Andy Hanson d8b541afa1 Fix test 2016-11-09 10:14:25 -08:00
Anders Hejlsberg 3dd11e48a9 Properly implement type relationship for '[P in S]: X' and '[P in T]: Y' 2016-11-09 09:59:15 -08:00
Andy Hanson 7079d0450e Fix duplicate function error 2016-11-09 09:12:43 -08:00
Andy Hanson d559f7f17d Merge branch 'master' into symlink3 2016-11-09 09:11:25 -08:00
Andy Hanson 9c80909a90 Resolve symlinks for type reference directives too. 2016-11-09 08:08:10 -08:00
Ron Buckton 74ec093d01 Merge branch 'emitHelper' into asyncGenerators 2016-11-08 18:13:31 -08:00
Arthur Ozga d842a6f665 Merge branch 'master' into interfaceFixes 2016-11-08 16:49:49 -08:00
Arthur Ozga 1d6ef6aedd cleanup 2016-11-08 16:48:54 -08:00
Ron Buckton bac9350847 Merge branch 'master' into emitHelper 2016-11-08 16:36:31 -08:00
Ron Buckton 12cd0bfb69 Remove EmitHelperState, general helper cleanup. 2016-11-08 16:32:41 -08:00
Vladimir Matveev 28cc938503 (signature help) type parameter lists are never variadic (#12112) 2016-11-08 16:10:34 -08:00
Vladimir Matveev 9a9f45f0fb use createHash from ServerHost instead of explicit require (#12043)
* use createHash from ServerHost instead of explicit require

* added missing method in ServerHost stub
2016-11-08 15:32:53 -08:00
Arthur Ozga 4973852722 fix linter errors 2016-11-08 14:37:46 -08:00
Arthur Ozga 6bd35fb066 Fix Type Param method Tests 2016-11-08 14:26:50 -08:00
Arthur Ozga 1ec234af32 Edit error handling tests 2016-11-08 14:13:25 -08:00
Anders Hejlsberg aca7e2fa3b Don't include private/protected properties in keyof T 2016-11-08 13:38:52 -08:00
Arthur Ozga 4441380e6f tests: edit expected type params 2016-11-08 13:20:56 -08:00
Arthur Ozga 55bf3e3ff0 Use new engine for interface fixes 2016-11-08 13:15:58 -08:00
Arthur Ozga 7141a2a714 Better error message in fourslash 2016-11-08 13:15:09 -08:00
Arthur Ozga 11cea6a771 Use TypeChecker to Get Types, Print 2016-11-08 13:14:54 -08:00
Arthur Ozga b26ba83db3 Expose signatureToString, addSupressAnyReturn Flag 2016-11-08 13:14:30 -08:00
Anders Hejlsberg cf2953bc44 Add relations for keyof S / keyof T and [P in S]: X / [P in T]: X 2016-11-08 12:21:44 -08:00
Arthur Ozga 0ce53f0230 rename tests 2016-11-08 10:43:36 -08:00
Anders Hejlsberg a562d6e63f Make keyof T assignable to and subtype of string | number 2016-11-08 10:14:44 -08:00
Andy Hanson 1c64615e32 Allow a path mapping to provide a file extension 2016-11-08 07:19:17 -08:00
Anders Hejlsberg 7ca5923214 Merge branch 'master' into mappedTypes
# Conflicts:
#	src/compiler/checker.ts
2016-11-08 07:12:35 -08:00
Anders Hejlsberg 8aef1e6bb1 Type inference for mapped types 2016-11-08 06:55:35 -08:00
Anders Hejlsberg 2282477012 Merge pull request #12068 from Microsoft/fixTypeAliasDisplay
Fix type alias display
2016-11-08 06:43:38 -08:00
Anders Hejlsberg be0358cc0c Include declaration file emit 2016-11-08 06:09:41 -08:00
Mohamed Hegazy 84f8f8bba8 Update authors for release-2.1 2016-11-07 21:58:53 -08:00
Vladimir Matveev 9e3d6efb19 reduce set of files being watched, increase polling interval (#12054) (#12092) 2016-11-07 21:13:11 -08:00
Mohamed Hegazy 2bf38ab6cd Port fix for https://github.com/Microsoft/TypeScript/issues/12069 (#12095) 2016-11-07 21:09:17 -08:00
Arthur Ozga bc1bb0e7f1 Make test failure more readable 2016-11-07 19:03:25 -08:00