TypeScript/tests/baselines/reference/functionAndPropertyNameConflict.errors.txt
2014-09-11 16:11:08 -07:00

11 lines
381 B
Plaintext

==== tests/cases/compiler/functionAndPropertyNameConflict.ts (2 errors) ====
class C65 {
public aaaaa() { }
public get aaaaa() {
~~~~~
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
~~~~~
!!! error TS2300: Duplicate identifier 'aaaaa'.
return 1;
}
}