12 lines
No EOL
630 B
Text
12 lines
No EOL
630 B
Text
tests/cases/conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName11.ts(2,4): error TS1168: Computed property names are not allowed in method overloads.
|
|
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: Computed property names are not allowed in method overloads.
|
|
~
|
|
!!! error TS2304: Cannot find name 'e'.
|
|
} |