Closed
Description
Your environment
Which OS do you use: Ubuntu 20.04
Which LSP client (editor/plugin) do you use: VS Code
Describe your project (alternative: link to the project): stack new-template with added bytestring dependency
Steps to reproduce
Modify file Main.hs to this:
module Main where
import qualified Data.ByteString as BS
main :: IO ()
main = do
BS.read
pure ()
place cursor after BS.read
and invoke autocomplete.
Expected behaviour
Function readFile
from Data.ByteString
on first position, before all other functions that not from Data.ByteString
Actual behaviour
Function readFile
on fourth position.
The first three positions are occupied by functions read
from GHC.IO.Device
, Prelude
, Text.Read
.