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

async *[Symbol.asyncIterator]() flagged as error #8397

Open
jwoehr opened this issue Apr 5, 2025 · 3 comments · May be fixed by #8398
Open

async *[Symbol.asyncIterator]() flagged as error #8397

jwoehr opened this issue Apr 5, 2025 · 3 comments · May be fixed by #8398
Assignees
Labels
kind:bug Bug report or fix

Comments

@jwoehr
Copy link

jwoehr commented Apr 5, 2025

Apache NetBeans version

Apache NetBeans 25

What happened

In the mongodb driver file change_stream.ts at line 803 this line becomes line 209 in the change_stream.js file installed by npm. This line is flagged as an error by NetBeans.

 async *[Symbol.asyncIterator]() {

Image

Language / Project Type / NetBeans Component

node.js code installed by npm

How to reproduce

npm install mongodb

Did this work correctly in an earlier version?

No / Don't know

Operating System

NAME="Pop!_OS" VERSION="22.04 LTS" ID=pop ID_LIKE="ubuntu debian"

JDK

openjdk 19.0.2 2023-01-17 OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04) OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

@jwoehr jwoehr added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Apr 5, 2025
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Apr 6, 2025
@matthiasblaesing matthiasblaesing removed the needs:triage Requires attention from one of the committers label Apr 6, 2025
@matthiasblaesing matthiasblaesing self-assigned this Apr 6, 2025
@matthiasblaesing
Copy link
Contributor

@jwoehr please have a look at #8398. A nightly build is available from the checks page or directly

@jwoehr
Copy link
Author

jwoehr commented Apr 6, 2025

Thanks @matthiasblaesing will try it out.

@jwoehr
Copy link
Author

jwoehr commented Apr 6, 2025

Hmm, now it does not err on the async line but errs later in the function:

Image

Image

Image

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants