Skip to content

Inlay hints missing for negative numbers #45393

@alex-statsig

Description

@alex-statsig

Issue Type: Bug

Create a function with a number argument in JavaScript, then call that function with a constant negative number.

Expected result is the inlay hint for the argument name should be shown, actual result is that its omitted (same as is done for named variables passed in).
Screen Shot 2021-08-09 at 2 38 38 PM

VS Code version: Code - Insiders 1.60.0-insider (Universal) (1ee61f3, 2021-08-09T05:59:19.046Z)
OS version: Darwin arm64 20.2.0
Restricted Mode: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions