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

18 lines
819 B
Plaintext
Raw Normal View History

2014-10-01 02:15:18 +02:00
tests/cases/compiler/functionAndPropertyNameConflict.ts(2,12): error TS2300: Duplicate identifier 'aaaaa'.
tests/cases/compiler/functionAndPropertyNameConflict.ts(3,16): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
2014-10-01 20:27:20 +02:00
tests/cases/compiler/functionAndPropertyNameConflict.ts(3,16): error TS2300: Duplicate identifier 'aaaaa'.
2014-10-01 02:15:18 +02:00
==== tests/cases/compiler/functionAndPropertyNameConflict.ts (3 errors) ====
2014-07-13 01:04:16 +02:00
class C65 {
public aaaaa() { }
2014-10-01 02:15:18 +02:00
~~~~~
!!! error TS2300: Duplicate identifier 'aaaaa'.
2014-07-13 01:04:16 +02:00
public get aaaaa() {
~~~~~
!!! error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
2014-10-01 20:27:20 +02:00
~~~~~
!!! error TS2300: Duplicate identifier 'aaaaa'.
2014-07-13 01:04:16 +02:00
return 1;
}
}