ZNTC1101: Private field must be declared in an enclosing class
ZNTC1101
Section titled “ZNTC1101”Private field must be declared in an enclosing class
Category: Semantic: Private Member
Reproduction
Section titled “Reproduction”class C { f() { this.#x; } }How to fix
Section titled “How to fix”See the error message for cause and resolution.