Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private properties in simple JS classes lead to "random" error markers #1468

Open
holtfreter opened this issue Feb 19, 2024 · 0 comments
Open

Comments

@holtfreter
Copy link

Greetings,

First, thank you for providing wildwebdeveloper to the Eclipse community.

The issue is simple: The usage of private properties in JS classes leads to error markers in valid JS code. Below, I provide the version of wildwebdeveloper I use - which appears to be the latest one - and two screenshots of a JS-file opened in the GenericEditor. The first screenshot shows valid code without a private field, the second one valid code with a private field and a lot of error markers. I could reproduce the issue in multiple files and workspaces.

Documentation about private properties at MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_properties

Versions:
version

Valid code without a private property:
ok

Valid code with a private property:
broken

Kind regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant