Skip to content

Importing class with generic param via code completion adds [] when it is already present #6272

@stivens

Description

@stivens

Describe the bug

Screen.Recording.2024-04-02.at.14.03.03.mov

Expected behavior

Foo[Bar] should not be changed to Foo[][Bar]

Operating system

macOS

Editor/Extension

VS Code

Version of Metals

v1.2.2

Extra context or search terms

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Scala 3Generic ticket relating to Scala 3bugSomething that is making a piece of functionality unusablepresentation-compilerSomething relating to the presentation compiler

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions