Files
tsgo/testdata/baselines/reference/submodule/compiler/functionAndPropertyNameConflict.errors.txt

15 lines
495 B
Plaintext

functionAndPropertyNameConflict.ts(2,12): error TS2300: Duplicate identifier 'aaaaa'.
functionAndPropertyNameConflict.ts(3,16): error TS2300: Duplicate identifier 'aaaaa'.
==== functionAndPropertyNameConflict.ts (2 errors) ====
class C65 {
public aaaaa() { }
~~~~~
!!! error TS2300: Duplicate identifier 'aaaaa'.
public get aaaaa() {
~~~~~
!!! error TS2300: Duplicate identifier 'aaaaa'.
return 1;
}
}