2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
|
|
|
|
////module M {
|
|
|
|
//// export class C {
|
|
|
|
//// foo() { }
|
|
|
|
//// }
|
|
|
|
//// export module C {
|
|
|
|
//// export var /*1*/C = M.C;
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
|
|
|
diagnostics.setEditValidation(IncrementalEditValidation.None);
|
|
|
|
|
|
|
|
verify.numberOfErrorsInCurrentFile(0);
|
|
|
|
|
|
|
|
// Edit and bind and resolve only var decl
|
|
|
|
goTo.marker("1");
|
|
|
|
edit.backspace(1);
|
|
|
|
edit.insert(" ");
|
2014-10-07 20:30:27 +02:00
|
|
|
verify.quickInfoIs("(var) M.C.C: typeof M.C");
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
// Verify there are no errors
|
|
|
|
verify.numberOfErrorsInCurrentFile(0);
|