TypeScript/tests/cases/conformance
Nathan Shively-Sanders 9f7621c7e2 Contextual signatures without thisType return anyType
If a contextual signature is found, if its thisType is undefined, then the contextual type of `this` is now `any`.
Previously `checkThisExpression` would keep looking for a different type for `this`.

Also update tests to show this new behaviour.
2016-04-28 14:17:11 -07:00
..
ambient Add conformance test for ambient enum declaration 2015-04-15 23:25:32 -07:00
async/es6 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-15 12:51:30 -08:00
classes Merge branch 'nestedPrivateProtectedMembers' of https://github.com/AbubakerB/TypeScript into AbubakerB-nestedPrivateProtectedMembers 2016-03-23 17:54:21 -07:00
constEnums Add conformance tests for const enum 2015-04-15 18:12:39 -07:00
controlFlow Adding regression test 2016-04-25 11:24:39 -07:00
declarationEmit Added tests for declaration emit. 2016-02-12 15:22:38 -08:00
decorators Added positive test case suggested in #6129. 2015-12-21 13:42:24 -08:00
enums Fix tests 2016-01-24 13:44:22 -08:00
es6 Fix8256 (#8292) 2016-04-25 16:31:01 -07:00
es7/exponentiationOperator Address PR feedback, remove scriptTarget ES7 2015-10-08 17:12:22 -07:00
expressions Merge branch 'master' into controlFlowTypes 2016-04-10 09:30:30 -07:00
externalModules Add export = class scenario 2016-03-10 10:11:48 -08:00
functions Added tests for 'void' return type compatibilty on overloads and implementations. 2015-12-11 15:04:27 -08:00
interfaces addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
internalModules Added more tests. 2015-06-02 17:11:08 -07:00
jsx Don't crash if there's no JSX.Element during SFC resolution 2016-02-29 18:35:48 -08:00
parser partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
references added supports for 'types' compiler option 2016-04-06 13:49:25 -07:00
salsa Add undefined checks for malformed type tags 2016-02-10 10:41:52 -08:00
scanner Update baselines 2014-08-27 16:58:31 -07:00
statements Updating tests 2016-01-06 16:13:02 -08:00
Symbols Check that Symbol properties are proper, and support downlevel type checking 2015-02-06 21:32:51 -08:00
types Contextual signatures without thisType return anyType 2016-04-28 14:17:11 -07:00