mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
//// [tests/cases/compiler/castNewObjectBug.ts] ////
|
|
|
|
=== 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.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
|
|
|