TypeScript/tests/cases/fourslash/referencesForClassLocal.ts
Andy Hanson 8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00

24 lines
474 B
TypeScript

/// <reference path='fourslash.ts'/>
// References to local inside a class.
////var n = 14;
////
////class foo {
//// private [|{| "isWriteAccess": true, "isDefinition": true |}n|] = 0;
////
//// public bar() {
//// this.[|n|] = 9;
//// }
////
//// constructor() {
//// this.[|n|] = 4;
//// }
////
//// public bar2() {
//// var n = 12;
//// }
////}
verify.singleReferenceGroup("(property) foo.n: number");