2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////module M2 {
|
|
|
|
//// export interface A {
|
|
|
|
//// foo: string;
|
|
|
|
//// }
|
|
|
|
//// var a: A;
|
|
|
|
//// var r = a.foo + a.bar;
|
|
|
|
////}
|
|
|
|
////module M2 {
|
|
|
|
//// export interface A {
|
|
|
|
//// bar: number;
|
|
|
|
//// }
|
|
|
|
//// var a: A;
|
|
|
|
//// var r = a.fo/*1*/o + a.bar;
|
|
|
|
////}
|
|
|
|
|
|
|
|
diagnostics.setEditValidation(IncrementalEditValidation.None);
|
|
|
|
|
|
|
|
goTo.marker('1');
|
2014-09-30 22:51:47 +02:00
|
|
|
verify.quickInfoIs("(property) M2.A.foo: string", undefined);
|
2014-07-13 01:04:16 +02:00
|
|
|
verify.numberOfErrorsInCurrentFile(0);
|