37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
|
=== tests/cases/conformance/types/members/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts ===
|
||
|
interface I {
|
||
|
>I : Symbol(I, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 0, 0))
|
||
|
|
||
|
(): void;
|
||
|
}
|
||
|
|
||
|
var i: I;
|
||
|
>i : Symbol(i, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 4, 3))
|
||
|
>I : Symbol(I, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 0, 0))
|
||
|
|
||
|
var f: Object;
|
||
|
>f : Symbol(f, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 5, 3))
|
||
|
>Object : Symbol(Object, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||
|
|
||
|
f = i;
|
||
|
>f : Symbol(f, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 5, 3))
|
||
|
>i : Symbol(i, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 4, 3))
|
||
|
|
||
|
i = f;
|
||
|
>i : Symbol(i, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 4, 3))
|
||
|
>f : Symbol(f, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 5, 3))
|
||
|
|
||
|
var a: {
|
||
|
>a : Symbol(a, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 9, 3))
|
||
|
|
||
|
(): void
|
||
|
}
|
||
|
f = a;
|
||
|
>f : Symbol(f, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 5, 3))
|
||
|
>a : Symbol(a, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 9, 3))
|
||
|
|
||
|
a = f;
|
||
|
>a : Symbol(a, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 9, 3))
|
||
|
>f : Symbol(f, Decl(objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts, 5, 3))
|
||
|
|