TypeScript/tests/cases/fourslash/goToImplementationNamespace_00.ts
Andy 9d42ab983d
implementations: Use declaration name for the span (#24537)
* implementations: Use declaration name for the span

* Always get name in nodeEntry
2018-05-31 13:32:02 -07:00

20 lines
490 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should handle namespace and module implementations
//// namespace /*implementation0*/Foo {
//// export function hello() {}
//// }
////
//// module /*implementation1*/Bar {
//// export function sure() {}
//// }
////
//// let x = Fo/*reference0*/o;
//// let y = Ba/*reference1*/r;
for (let i = 0; i < 2; i ++) {
goTo.marker("reference" + i);
goTo.implementation();
verify.caretAtMarker("implementation" + i);
}