Skip to content

Completions for methods of the current class in instance declarations #1738

Closed
@fwcd

Description

@fwcd

Consider the following example:

class Test a where
    test :: a -> ()

instance Test Int where
    test = _

At _, it would be nice to have the method test in the completion list, e.g. for recursive invocations, this is not the case currently, however:

image

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