Description
On Windows, when trying to use the VSCode plugin on accelerate. HLS works as expected on other codebases.
I get the following, identical, errormessage on the Bool.hs
, Either.hs
, Maybe.hs
and Ordering.hs
files:
Program error:
ByteCodeLink: can't find label
During interactive linking, GHCi couldn't find the following symbol:
__cmd_line_flags
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please send a bug report to:
glasgow-haskell-bugs@haskell.org
All four of these files apply the TH function mkPattern
from Pattern/TH.hs on these Prelude datatypes.
As a result, it seems (looking at the verbose output in VSCode) that HLS always responds to queries in this package (hover, go to definition, etc), even unrelated to these patterns, with null
or []
.