12 lines
No EOL
684 B
Text
12 lines
No EOL
684 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName11.ts(2,4): error TS1168: A computed property name in a method overload must directly refer to a built-in symbol.
|
|
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName11.ts(2,5): error TS2304: Cannot find name 'e'.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName11.ts (2 errors) ====
|
|
class C {
|
|
[e]();
|
|
~~~
|
|
!!! error TS1168: A computed property name in a method overload must directly refer to a built-in symbol.
|
|
~
|
|
!!! error TS2304: Cannot find name 'e'.
|
|
} |