Skip to content

Type class constraint inserted as last line in source file #360

Closed
haskell/ghcide
#839
@runeksvendsen

Description

@runeksvendsen

I'm using the haskell.haskell VSCode plugin (v1.1.0) with VSCode 1.48.1.

When I use the Quick Fix Add <constraint> to the context of the type signature for <function> the constraint(s) are inserted in the bottom of the source file. Please see attached screen recording for an illustration of the issue.

hls-insert-constraint-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: 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