Skip to content

HLS 1.5 does not handle TH correctly #2379

Closed
@pepeiborra

Description

@pepeiborra

This is another regression from #2323 and can generate errors like below in TH codebases:

  tried to look at linkable for GetModIfaceWithoutLinkable for NormalizedFilePath
  "/home/adam/src/ghc/ghc-8.10/hls/th-pq-segfault/pqexample/src/PQ.hs"
  CallStack (from HasCallStack):
  error, called at src/Development/IDE/Core/Rules.hs:888:79 in
  ghcide-1.5.0-inplace:Development.IDE.Core.Rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidetype: 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