Skip to content

Detect data import wildcards (X (..)) as imported #38

@fwcd

Description

@fwcd

Consider the following Curry modules:

-- A.curry
module A where

data X = X { unX :: Int }
-- B.curry
module B where

import A (X (..))

test :: Int
test = _

Entering unX at _ currently suggests an auto-import, even though it is not required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions