2015-08-28 20:05:54 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////var x = class C {
|
|
|
|
//// public x;
|
|
|
|
//// public y;
|
|
|
|
//// public z;
|
|
|
|
//// constructor() {
|
|
|
|
//// [|this|];
|
|
|
|
//// [|this|].x;
|
|
|
|
//// [|this|].y;
|
|
|
|
//// [|this|].z;
|
|
|
|
//// }
|
|
|
|
//// foo() {
|
|
|
|
//// [|this|];
|
|
|
|
//// () => [|this|];
|
|
|
|
//// () => {
|
|
|
|
//// if ([|this|]) {
|
|
|
|
//// [|this|];
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// function inside() {
|
|
|
|
//// this;
|
|
|
|
//// (function (_) {
|
|
|
|
//// this;
|
|
|
|
//// })(this);
|
|
|
|
//// }
|
|
|
|
//// return [|this|].x;
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// static bar() {
|
|
|
|
//// this;
|
|
|
|
//// () => this;
|
|
|
|
//// () => {
|
|
|
|
//// if (this) {
|
|
|
|
//// this;
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// function inside() {
|
|
|
|
//// this;
|
|
|
|
//// (function (_) {
|
|
|
|
//// this;
|
|
|
|
//// })(this);
|
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
2017-01-18 22:55:31 +01:00
|
|
|
verify.rangesAreOccurrences(false);
|