Skip to content

Adding (\\) operator to import list adds it without surrounding it in parenthesis #2451

Closed
@jhrcek

Description

@jhrcek

Your environment

Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.5.1.0, Git revision dcd2163 (2504 commits) x86_64 ghc-8.10.7
Current directory: /home/jhrcek/Devel/github.com/Holmusk/PI/backend
Operating system: linux
Arguments: ["--lsp"]
Cradle directory: /home/jhrcek/Devel/github.com/Holmusk/PI/backend
Cradle type: Stack

Tool versions found on the $PATH
cabal: 3.6.2.0
stack: 2.7.3
ghc: 8.10.7

Steps to reproduce

See this gif

ImportBug

Expected behaviour

The \\ operator should be surrounded in () after it's added to import list

Actual behaviour

The \\ operator is added without ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: imports pluginstatus: needs infoNot actionable, because there's missing informationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions