fwcd / fwcd/curry-language-server

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

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Haskell
Stars
35
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Consider the following Curry modules:

```haskell
-- A.curry
module A where

data X = X { unX :: Int }
```

```haskell
-- 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.