2016-08-22 22:57:40 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
2016-09-10 00:13:51 +02:00
|
|
|
// Should handle namespace and module implementations
|
2016-08-22 22:57:40 +02:00
|
|
|
|
2018-05-31 22:32:02 +02:00
|
|
|
//// namespace /*implementation0*/Foo {
|
2016-09-07 02:02:23 +02:00
|
|
|
//// export function hello() {}
|
|
|
|
//// }
|
|
|
|
////
|
2018-05-31 22:32:02 +02:00
|
|
|
//// module /*implementation1*/Bar {
|
2016-09-07 02:02:23 +02:00
|
|
|
//// export function sure() {}
|
|
|
|
//// }
|
|
|
|
////
|
2016-09-10 00:13:51 +02:00
|
|
|
//// let x = Fo/*reference0*/o;
|
|
|
|
//// let y = Ba/*reference1*/r;
|
2016-08-22 22:57:40 +02:00
|
|
|
|
2016-09-10 00:13:51 +02:00
|
|
|
for (let i = 0; i < 2; i ++) {
|
2016-09-07 02:02:23 +02:00
|
|
|
goTo.marker("reference" + i);
|
2016-09-10 00:13:51 +02:00
|
|
|
goTo.implementation();
|
|
|
|
verify.caretAtMarker("implementation" + i);
|
2016-09-07 02:02:23 +02:00
|
|
|
}
|