50 lines
1.1 KiB
TypeScript
50 lines
1.1 KiB
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////var x = class C {
|
|
//// public x;
|
|
//// public y;
|
|
//// public z;
|
|
//// public staticX;
|
|
//// 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|].staticX;
|
|
//// () => [|this|];
|
|
//// () => {
|
|
//// if ([|this|]) {
|
|
//// [|this|];
|
|
//// }
|
|
//// }
|
|
//// function inside() {
|
|
//// this;
|
|
//// (function (_) {
|
|
//// this;
|
|
//// })(this);
|
|
//// }
|
|
//// }
|
|
////}
|
|
|
|
verify.rangesAreOccurrences(false);
|