Closed
Description
import qualified Data.Text.IO as Text
import qualified Data.Text as Text
x :: Text.Text -- from Data.Text
x = Text.empty -- from Data.Text
y :: IO ()
y = Text.putStrLn x -- from Data.Text.IO
Commenting out either of the imports will not give import suggestions, as there is already an import qualified as Text.
However if you comment out both you will get import suggestions (and can use of them, before you get the above issue)
GHC 8.10.4, cabal 3.2.0.0, stack 2.5.1 (unused), hls 0.9.0.0 (built from latest source), vscode