Skip to content

Parse error when adding def to trailing-comma import list #3039

Closed
@georgefst

Description

@georgefst
import Prelude (
  Bool,
 )

x = not

Running the code action to add not results in:

import Prelude (
  Bool,, not
 )

x = not

HEAD (445192e) with GHC 9.2.3. I'm pretty sure this is a regression since the last release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidetype: 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