콘텐츠로 이동

ZNTC0621: 'super()' is only allowed in a class constructor

‘super()’ is only allowed in a class constructor

카테고리: 파서: 식/연산자

class C { f() { super(); } }

Playground에서 재현하기 →

이 에러의 원인과 해결 방법은 에러 메시지를 참고하세요.