9 lines
334 B
Text
9 lines
334 B
Text
=== tests/cases/compiler/castNewObjectBug.ts ===
|
|
interface Foo { }
|
|
>Foo : Symbol(Foo, Decl(castNewObjectBug.ts, 0, 0))
|
|
|
|
var xx = <Foo> new Object();
|
|
>xx : Symbol(xx, Decl(castNewObjectBug.ts, 1, 3))
|
|
>Foo : Symbol(Foo, Decl(castNewObjectBug.ts, 0, 0))
|
|
>Object : Symbol(Object, Decl(lib.d.ts, 92, 1), Decl(lib.d.ts, 223, 11))
|
|
|