Skip to content

compare: unexpected RecIntersect (UnsafeIntersectId 478 478)  #24

@Tritlo

Description

@Tritlo

I'm trying to use ecta via the ecta-plugin, but when I use it for Prelude it complains about

compare: unexpected RecIntersect (UnsafeIntersectId 478 478) 

I've made a minimal reproduction here:

https://gist.github.com/Tritlo/405c85003401de9fb481841be7faa940

Of course the issue might be in the plugin itself, but it works for other cases.
I don't know enough about the inner workings of ecta to understand the issue here.
It seems like it is trying to intersect with itself? What does that mean, and what would be the right answer there

This is blocking integration into HLS (haskell/haskell-language-server#3159), so would be great if we could figure it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions