1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
=== tests/cases/compiler/classWithOverloadImplementationOfWrongName.ts ===
class C {
>C : Symbol(C, Decl(classWithOverloadImplementationOfWrongName.ts, 0, 0))
foo(): string;
>foo : Symbol(C.foo, Decl(classWithOverloadImplementationOfWrongName.ts, 0, 9), Decl(classWithOverloadImplementationOfWrongName.ts, 1, 18))
foo(x): number;
>foo : Symbol(C.foo, Decl(classWithOverloadImplementationOfWrongName.ts, 0, 9), Decl(classWithOverloadImplementationOfWrongName.ts, 1, 18))
>x : Symbol(x, Decl(classWithOverloadImplementationOfWrongName.ts, 2, 8))
bar(x): any { }
>bar : Symbol(C.bar, Decl(classWithOverloadImplementationOfWrongName.ts, 2, 19))
>x : Symbol(x, Decl(classWithOverloadImplementationOfWrongName.ts, 3, 8))
}
|