1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
=== tests/cases/compiler/protoAsIndexInIndexExpression_1.ts ===
///<reference path='protoAsIndexInIndexExpression_0.ts'/>
var EntityPrototype = undefined;
>EntityPrototype : Symbol(EntityPrototype, Decl(protoAsIndexInIndexExpression_1.ts, 1, 3))
>undefined : Symbol(undefined)
var WorkspacePrototype = {
>WorkspacePrototype : Symbol(WorkspacePrototype, Decl(protoAsIndexInIndexExpression_1.ts, 2, 3))
serialize: function (): any {
>serialize : Symbol(serialize, Decl(protoAsIndexInIndexExpression_1.ts, 2, 26))
}
};
WorkspacePrototype['__proto__'] = EntityPrototype;
>WorkspacePrototype : Symbol(WorkspacePrototype, Decl(protoAsIndexInIndexExpression_1.ts, 2, 3))
>EntityPrototype : Symbol(EntityPrototype, Decl(protoAsIndexInIndexExpression_1.ts, 1, 3))
var o = {
>o : Symbol(o, Decl(protoAsIndexInIndexExpression_1.ts, 8, 3))
"__proto__": 0
>"__proto__" : Symbol("__proto__", Decl(protoAsIndexInIndexExpression_1.ts, 8, 9))
};
class C {
>C : Symbol(C, Decl(protoAsIndexInIndexExpression_1.ts, 10, 2))
"__proto__" = 0;
>"__proto__" : Symbol(C["__proto__"], Decl(protoAsIndexInIndexExpression_1.ts, 11, 9))
}
=== tests/cases/compiler/protoAsIndexInIndexExpression_0.ts ===
export var x;
>x : Symbol(x, Decl(protoAsIndexInIndexExpression_0.ts, 0, 10))
|