Skip to content

Don't generate a Cradle based on .cabal file if cabal version >= 3.4 #42

Open
@fendor

Description

@fendor

Since haskell/cabal#6622 has been merged, cabal repl works reliably for file paths that are part of a cabal project. Thus, implicit-hie should generate (at least within HLS) only the most basic cabal cradle, and not attempt parsing .cabal file and generate a multi-cradle based on the .cabal file.

This way we reduce the surface for errors in implicit-hie quite considerably. (probably a bit faster too)

For the gen-hie utility, probably nothing should be changed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions