Skip to content

Please add upper bound ghcide <1.5.0.1 to hls-eval-plugin 1.2.0.1 on hackage #2396

Closed
@hamishmack

Description

@hamishmack

The latest ghcide in hackage (1.5.0.1) includes this change (when compared to ghcide 1.5.0):

 data GhcSessionDepsConfig = GhcSessionDepsConfig
     { checkForImportCycles :: Bool
-    , forceLinkables       :: Bool
     , fullModSummary       :: Bool
     }
 instance Default GhcSessionDepsConfig where
   def = GhcSessionDepsConfig
     { checkForImportCycles = True
-    , forceLinkables = False
     , fullModSummary = False
     }

It leads to this error when building hls-eval-plugin 1.2.0.1:

[8 of 9] Compiling Ide.Plugin.Eval.CodeLens ( src/Ide/Plugin/Eval/CodeLens.hs, dist/build/Ide/Plugin/Eval/CodeLens.o, dist/build/Ide/Plugin/Eval/CodeLens.dyn_o )

src/Ide/Plugin/Eval/CodeLens.hs:543:15: error:
    ‘forceLinkables’ is not a (visible) constructor field name
    |
543 |             { forceLinkables = True
    |               ^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    old_type: distributiontype: 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