ZNTC0621: 'super()' is only allowed in a class constructor
ZNTC0621
Section titled “ZNTC0621”‘super()’ is only allowed in a class constructor
Category: Parser: Expression/Operator
Reproduction
Section titled “Reproduction”class C { f() { super(); } }How to fix
Section titled “How to fix”See the error message for cause and resolution.