tests/cases/conformance/es6/computedProperties/computedPropertyNames30_ES6.ts(11,19): error TS2337: Super calls are not permitted outside constructors or in nested functions inside constructors.


==== tests/cases/conformance/es6/computedProperties/computedPropertyNames30_ES6.ts (1 errors) ====
    class Base {
    }
    class C extends Base {
        constructor() {
            super();
            () => {
                var obj = {
                    // Ideally, we would capture this. But the reference is
                    // illegal, and not capturing this is consistent with
                    //treatment of other similar violations.
                    [(super(), "prop")]() { }
                      ~~~~~
!!! error TS2337: Super calls are not permitted outside constructors or in nested functions inside constructors.
                };
            }
        }
    }