mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
808 B
Plaintext
18 lines
808 B
Plaintext
//// [tests/cases/compiler/classWithOverloadImplementationOfWrongName.ts] ////
|
|
|
|
=== 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))
|
|
}
|