2014-10-11 02:04:30 +02:00
|
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
2014-10-14 02:29:19 +02:00
|
|
|
|
////module /*0*/M {
|
|
|
|
|
//// export interface /*1*/I {
|
2014-10-11 02:04:30 +02:00
|
|
|
|
//// }
|
|
|
|
|
////}
|
|
|
|
|
////
|
2014-10-14 02:29:19 +02:00
|
|
|
|
////module /*2*/M {
|
2014-10-11 02:04:30 +02:00
|
|
|
|
//// var x = 10;
|
|
|
|
|
////}
|
|
|
|
|
////
|
2014-10-14 02:29:19 +02:00
|
|
|
|
////var /*3*/M = {
|
2014-10-11 02:04:30 +02:00
|
|
|
|
//// foo: 10,
|
|
|
|
|
//// bar: 20
|
|
|
|
|
////}
|
|
|
|
|
////
|
2014-10-14 02:29:19 +02:00
|
|
|
|
////var v: /*4*/M./*5*/I;
|
2014-10-11 02:04:30 +02:00
|
|
|
|
////
|
2014-10-14 02:29:19 +02:00
|
|
|
|
////var x = /*6*/M;
|
2014-10-11 02:04:30 +02:00
|
|
|
|
|
|
|
|
|
var c = classification;
|
|
|
|
|
verify.semanticClassificationsAre(
|
2014-10-14 02:29:19 +02:00
|
|
|
|
c.moduleName("M", test.marker("0").position),
|
|
|
|
|
c.interfaceName("I", test.marker("1").position),
|
|
|
|
|
c.moduleName("M", test.marker("2").position),
|
|
|
|
|
c.moduleName("M", test.marker("4").position),
|
|
|
|
|
c.interfaceName("I", test.marker("5").position),
|
|
|
|
|
c.moduleName("M", test.marker("6").position));
|