TypeScript/tests/baselines/reference/protoAsIndexInIndexExpression.symbols
2015-04-15 16:44:20 -07:00

32 lines
1.1 KiB
Plaintext

=== 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
};
class C {
>C : Symbol(C, Decl(protoAsIndexInIndexExpression_1.ts, 10, 2))
"__proto__" = 0;
}
=== tests/cases/compiler/protoAsIndexInIndexExpression_0.ts ===
export var x;
>x : Symbol(x, Decl(protoAsIndexInIndexExpression_0.ts, 0, 10))