Skip to content

Variable that is in scope marked as not in scope #4577

Open
@maksim10411072

Description

@maksim10411072

Your environment

Which OS do you use?
Windows
Which version of GHC do you use and how did you install it?
9.12.2 from ghcup
How is your project built (alternative: link to the project)?
Image

Which LSP client (editor/plugin) do you use?
VS Code + haskell.haskell extension
Which version of HLS do you use and how did you install it?
2.10.0.0 from ghcup
Have you configured HLS in any way (especially: a hie.yaml file)?
no

Steps to reproduce

  1. Start HLS in VS Code

Expected behaviour

Function declared in imported module is not highlighted as error

Actual behaviour

Function is marked by "Variable not in scope" even when module explicitly exports it

Debug information

hlsistheworstlsiveeverseen.log
HSCifirWorks.cabal.sincegithub.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions