/// ////interface A { //// foo(a: T): B; //// foo(): void ; //// foo2(): B; ////} ////interface B extends A { //// bar(): void ; ////} ////var b: B; ////var /**/x = b.foo2().foo(5).foo(); // 'x' is of type 'void' // this line triggers a semantic/syntactic error check, remove line when 788570 is fixed edit.insert(''); goTo.marker(); verify.quickInfoIs('(var) x: void'); verify.numberOfErrorsInCurrentFile(0);