mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10965f576b
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
28 lines
868 B
Plaintext
28 lines
868 B
Plaintext
//// [tests/cases/compiler/declarationEmitInferredObjectLiteralWithThis.ts] ////
|
|
|
|
=== declarationEmitInferredObjectLiteralWithThis.ts ===
|
|
export class C {
|
|
>C : Symbol(C, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 0, 0))
|
|
|
|
foo() {
|
|
>foo : Symbol(C.foo, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 0, 16))
|
|
|
|
return {
|
|
self: this,
|
|
>self : Symbol(self, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 2, 16))
|
|
>this : Symbol(C, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 0, 0))
|
|
|
|
};
|
|
}
|
|
|
|
prop = {
|
|
>prop : Symbol(C.prop, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 5, 5))
|
|
|
|
self: this,
|
|
>self : Symbol(self, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 7, 12))
|
|
>this : Symbol(C, Decl(declarationEmitInferredObjectLiteralWithThis.ts, 0, 0))
|
|
|
|
};
|
|
}
|
|
|