This issue is from existed issue [2296](https://github.com/AssemblyScript/assemblyscript/issues/2296#issuecomment-1138164054). `parseClassMember` function has an incorrect error message at line 2098: ``` } else if (flags & CommonFlags.PRIVATE) { this.error( DiagnosticCode._0_modifier_cannot_be_used_here, tn.range(accessStart, accessEnd), "protected" ); // recoverable } ```