2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/castNewObjectBug.ts ===
|
|
|
|
interface Foo { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>Foo : Foo
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var xx = <Foo> new Object();
|
2015-04-16 01:44:20 +02:00
|
|
|
>xx : Foo
|
2014-08-15 23:33:16 +02:00
|
|
|
><Foo> new Object() : Foo
|
2015-04-16 01:44:20 +02:00
|
|
|
>Foo : Foo
|
2014-08-15 23:33:16 +02:00
|
|
|
>new Object() : Object
|
2015-04-16 01:44:20 +02:00
|
|
|
>Object : ObjectConstructor
|
2014-08-15 23:33:16 +02:00
|
|
|
|