TypeScript/tests/baselines/reference/functionAndPropertyNameConflict.errors.txt
2014-07-12 17:30:19 -07:00

11 lines
353 B
Plaintext

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