Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fwcd opened this issue Apr 17, 2021 · 0 comments
Open

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

fwcd opened this issue Apr 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@fwcd
Copy link
Owner

fwcd commented Apr 17, 2021

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.

@fwcd fwcd added the bug Something isn't working label Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant