TypeScript/tests/cases/fourslash/referencesForClassLocal.ts
2014-08-18 12:40:31 -07:00

27 lines
463 B
TypeScript

/// <reference path='fourslash.ts'/>
// References to local inside a class.
////var n = 14;
////
////class foo {
//// private /*1*/n = 0;
////
//// public bar() {
//// this.n = 9;
//// }
////
//// constructor() {
//// this./*2*/n = 4;
//// }
////
//// public bar2() {
//// var n = 12;
//// }
////}
goTo.marker("1");
verify.referencesCountIs(3);
goTo.marker("2");
verify.referencesCountIs(3);