TypeScript/tests/baselines/reference/castNewObjectBug.types

12 lines
404 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/castNewObjectBug.ts ===
interface Foo { }
>Foo : Foo, Symbol(Foo,Decl(castNewObjectBug.ts,0,0))
2014-08-15 23:33:16 +02:00
var xx = <Foo> new Object();
>xx : Foo, Symbol(xx,Decl(castNewObjectBug.ts,1,3))
2014-08-15 23:33:16 +02:00
><Foo> new Object() : Foo
>Foo : Foo, Symbol(Foo,Decl(castNewObjectBug.ts,0,0))
2014-08-15 23:33:16 +02:00
>new Object() : Object
>Object : ObjectConstructor, Symbol(Object,Decl(lib.d.ts,92,1),Decl(lib.d.ts,223,11))
2014-08-15 23:33:16 +02:00