fwcd / curry-language-server

IDE support for the functional logic language Curry
BSD 3-Clause "New" or "Revised" License
26 stars 2 forks source link

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

Open fwcd opened 3 years ago

fwcd commented 3 years ago

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.