TypeScript/tests/baselines/reference/functionAndPropertyNameConflict.errors.txt

11 lines
353 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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;
}
}