ZNTC0408: Class field cannot be named 'constructor'
ZNTC0408
Section titled “ZNTC0408”Class field cannot be named ‘constructor’
Category: Parser: Declaration/Class
Reproduction
Section titled “Reproduction”class Foo { constructor = 1; }How to fix
Section titled “How to fix”See the error message for cause and resolution.