TypeScript/tests/cases/fourslash/cloduleWithRecursiveReference.ts

17 lines
405 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////module M {
//// export class C {
//// foo() { }
//// }
//// export module C {
2014-10-07 20:30:27 +02:00
//// export var /**/C = M.C
2014-07-13 01:04:16 +02:00
//// }
////}
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker();
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.numberOfErrorsInCurrentFile(0);