17 lines
No EOL
688 B
Text
17 lines
No EOL
688 B
Text
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 "";
|
|
}
|
|
} |