TypeScript/tests/cases/fourslash/cloduleWithRecursiveReference.ts
2014-10-07 11:30:27 -07:00

17 lines
405 B
TypeScript

/// <reference path='fourslash.ts'/>
////module M {
//// export class C {
//// foo() { }
//// }
//// export module C {
//// export var /**/C = M.C
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
verify.quickInfoIs('(var) M.C.C: typeof M.C');
verify.numberOfErrorsInCurrentFile(0);