17 lines
688 B
Plaintext
17 lines
688 B
Plaintext
|
tests/cases/conformance/es6/Symbols/symbolProperty44.ts(2,9): error TS2300: Duplicate identifier '[Symbol.hasInstance]'.
|
||
|
tests/cases/conformance/es6/Symbols/symbolProperty44.ts(5,9): error TS2300: Duplicate identifier '[Symbol.hasInstance]'.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/Symbols/symbolProperty44.ts (2 errors) ====
|
||
|
class C {
|
||
|
get [Symbol.hasInstance]() {
|
||
|
~~~~~~~~~~~~~~~~~~~~
|
||
|
!!! error TS2300: Duplicate identifier '[Symbol.hasInstance]'.
|
||
|
return "";
|
||
|
}
|
||
|
get [Symbol.hasInstance]() {
|
||
|
~~~~~~~~~~~~~~~~~~~~
|
||
|
!!! error TS2300: Duplicate identifier '[Symbol.hasInstance]'.
|
||
|
return "";
|
||
|
}
|
||
|
}
|