mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
454 B
Plaintext
14 lines
454 B
Plaintext
//// [tests/cases/compiler/cannotInvokeNewOnErrorExpression.ts] ////
|
|
|
|
=== cannotInvokeNewOnErrorExpression.ts ===
|
|
namespace M
|
|
>M : Symbol(M, Decl(cannotInvokeNewOnErrorExpression.ts, 0, 0))
|
|
{
|
|
class ClassA {}
|
|
>ClassA : Symbol(ClassA, Decl(cannotInvokeNewOnErrorExpression.ts, 1, 1))
|
|
}
|
|
var t = new M.ClassA[];
|
|
>t : Symbol(t, Decl(cannotInvokeNewOnErrorExpression.ts, 4, 3))
|
|
>M : Symbol(M, Decl(cannotInvokeNewOnErrorExpression.ts, 0, 0))
|
|
|