Skip to content

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

Closed

Description

@jwoehr

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

Activity

  1. added
    kind:bugBug report or fix
    needs:triageRequires attention from one of the committers
    on Apr 5, 2025
  2. added a commit that references this issue on Apr 6, 2025
    ecee882
  3. matthiasblaesing commented on Apr 6, 2025

    @matthiasblaesing
    Contributor

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

  4. jwoehr commented on Apr 6, 2025

    @jwoehr
    Author

    Thanks @matthiasblaesing will try it out.

  5. jwoehr commented on Apr 6, 2025

    @jwoehr
    Author

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

    Image

    Image

    Image

    Image

    Image

  6. matthiasblaesing commented on Apr 13, 2025

    @matthiasblaesing
    Contributor

    @jwoehr thank you for testing and indeed there was a bug lurking in the shadows of the parser code (6c508c0).

    Would you mind testing the updated version again download?

  7. jwoehr commented on Apr 13, 2025

    @jwoehr
    Author

    Downloading, will get back to you @matthiasblaesing

  8. jwoehr commented on Apr 13, 2025

    @jwoehr
    Author

    Hmm, weird, I don't see any errors flagged in the files, but the file tree is flagging certain filenames.

    Image

  9. matthiasblaesing commented on Apr 14, 2025

    @matthiasblaesing
    Contributor
  10. added a commit that references this issue on Apr 14, 2025
    64683f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind:bugBug report or fix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions