27 lines
No EOL
463 B
TypeScript
27 lines
No EOL
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); |