TypeScript/tests/cases/fourslash/goToImplementationNamespace_05.ts
2016-09-09 15:18:49 -07:00

22 lines
633 B
TypeScript

/// <reference path='fourslash.ts'/>
// Should handle namespace and module implementations with qualified names
//// /*implementation0*/namespace Foo./*implementation2*/Baz {
//// export function hello() {}
//// }
////
//// /*implementation1*/module Bar./*implementation3*/Baz {
//// export function sure() {}
//// }
////
//// let x = Fo/*reference0*/o;
//// let y = Ba/*reference1*/r;
//// let x1 = Foo.B/*reference2*/az;
//// let y1 = Bar.B/*reference3*/az;
for (let i = 0; i < 4; i ++) {
goTo.marker("reference" + i);
goTo.implementation();
verify.caretAtMarker("implementation" + i);
}