2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
2014-08-01 04:58:18 +02:00
|
|
|
// @Filename: a.ts
|
2014-07-13 01:04:16 +02:00
|
|
|
//// //MyFile Comments
|
|
|
|
//// //more comments
|
2014-08-01 04:58:18 +02:00
|
|
|
//// /// <reference path="so/*unknownFile*/mePath.ts" />
|
|
|
|
//// /// <reference path="b/*knownFile*/.ts" />
|
2014-07-13 01:04:16 +02:00
|
|
|
////
|
|
|
|
//// class clsInOverload {
|
|
|
|
//// static fnOverload();
|
|
|
|
//// static fnOverload(foo: string);
|
|
|
|
//// static fnOverload(foo: any) { }
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
|
2014-08-01 04:58:18 +02:00
|
|
|
// @Filename: b.ts
|
|
|
|
/////*fileB*/
|
|
|
|
|
|
|
|
goTo.marker("unknownFile");
|
2014-07-13 01:04:16 +02:00
|
|
|
verify.not.definitionLocationExists();
|
2014-08-01 04:58:18 +02:00
|
|
|
|
|
|
|
goTo.marker("knownFile");
|
|
|
|
goTo.definition();
|
|
|
|
verify.caretAtMarker('fileB');
|