Updated test cases.

This commit is contained in:
Daniel Rosenwasser 2018-08-14 23:02:08 -07:00
parent c0531c74f4
commit dc1fbc24cd

View file

@ -17,3 +17,7 @@ function f3(z: number): number {
// error: `this` is `window`, but is still of type `any`
let f4: (b: number) => number = b => this.c + b;
let f5 = () => () => this;
let f6 = function() { return () => this; };
let f7 = function() { return function() { return this } };