Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

GHC plugins don't work on haskell-ide-engine-1.0.0.0 #1617

Open
@IchiroKawashima

Description

@IchiroKawashima

Hello,

The problem is the same as #946. I'm working with GHC type checker plugins, just like ghc-typelits-knownnat. hie-0.12.0.0 used to work with those plugins, but neither does hie-1.0.0.0. It seems that hie-1.0.0.0 doesn't recognize the plugins. I hope the IDE engine to give us the same errors as ghc compiler which is used in the project.

I made the following example stack project to demonstrate the problem. I hope the example helps you to figure out the problem.
IchiroKawashima/hie-plugins-example

In the project, hie-0.12.0.0 can check types properly by using a GHC plugin but hie-1.0.0.0 gives us an error related types albeit the project can be compiled with stack and its GHC. Note that, all of language extensions and GHC options are described in package.yaml. hie-1.0.0.0 seems to recognize language extensions.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions