E0208: cannot access private identifier outside class
The following code is accessing a private identifier outside the class.
To fix this error, move function f
as a static member of
class C
.
Another way to fix this error, remove #
before variable
x
.
Introduced in quick-lint-js version 0.4.0.