Skip to content

Cannot get automatic case splitting to work #3496

@niekvandepas

Description

@niekvandepas

I'm a happy user of HLS, but for some reason cannot get automatic case splitting to work in any file or project.

Your environment

Which OS do you use?
MacOS Ventura 13.1

Which version of GHC do you use and how did you install it?
9.4.4 from GHCUP

Which LSP client (editor/plugin) do you use?
VS Code with the Haskell extension

Which version of HLS do you use and how did you install it?
Version 1.9.1.0 aarch64 ghc-9.4.4 from GHCUP

Have you configured HLS in any way (especially: a hie.yaml file)?
No

What's wrong?

Take the following code example:

data FuzzyBool = True | HalfTrue | False

convertFuzzyBool :: FuzzyBool -> Int
convertFuzzyBool fb = _

The only quick fixes suggested at _ are hole fits. Case splitting is not provided.

Debug information

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