11 lines
440 B
Text
11 lines
440 B
Text
|
tests/cases/conformance/es6/computedProperties/computedPropertyNames27.ts(4,7): error TS2466: 'super' cannot be referenced in a computed property name.
|
||
|
|
||
|
|
||
|
==== tests/cases/conformance/es6/computedProperties/computedPropertyNames27.ts (1 errors) ====
|
||
|
class Base {
|
||
|
}
|
||
|
class C extends Base {
|
||
|
[(super(), "prop")]() { }
|
||
|
~~~~~
|
||
|
!!! error TS2466: 'super' cannot be referenced in a computed property name.
|
||
|
}
|