nwolverson/vscode-ide-purescript

Ctrl + click on a type named Field always opens Data.Field

bklaric opened this issue · 0 comments

I have in one file:

module FieldDef where

type Field = { someProp :: String }

In another file I have:

module FieldUse where

import FieldDef (Field)

someValue :: Field
someValue = { someProp: "aoeu" }

Ctrl + clik on Field in someValue :: Field shows class definition in Data.Field (relative path .spago/prelude/v6.0.0/src/Data/Field.purs) instead of type alias in FieldDef.