Skip to content

primordials break REPL autocomplete with useGlobal: false #30792

@targos

Description

@targos

Discovered in #30740

When the REPL is started with useGlobal: false, the autocomplete for globals doesn't include values that are present in the primordials object.
Example with Node.js 13.3.0:

image

I pressed "N", "TAB", "TAB". The output doesn't include Number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions