Skip to content

JS/TS signature help reset when moving on to new overload if multiple overloads match #94834

Closed

Description

@mjbvz

Issue Type: Bug

Repro

  1. For the TS:
declare function foo(a: number, b: 'abc'): void;
declare function foo(a: number, c: 'xyz'): void;

foo()
  1. trigger sig help in foo
  2. Type 1
  3. Then select the second overload in the signature help view
  4. Now type ,

Expected
Overload remains on the overload for xyz

Bug
Overload switches back to one for abc

VS Code version: Code - Insiders 1.44.0-insider (2aae1f2, 2020-04-07T21:42:32.364Z)
OS version: Darwin x64 19.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 32.00GB (0.20GB free)
Process Argv -psn_0_2814639
Screen Reader no
VM 14%

Activity

  1. added
    bug
    typescript
    javascript
    editor-parameter-hints
    on Apr 9, 2020
  2. added
    verified
    on Apr 30, 2020
  3. locked and limited conversation to collaborators on May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-parameter-hintsjavascripttypescriptverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions