Skip to content

Completion of GHC options inOPTIONS_GHC doesn't properly handle -s #3908

Closed
@konsumlamm

Description

@konsumlamm

Your environment

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

9.8.1 from GHCup

Which version of HLS do you use and how did you install it?

2.5.0.0

Steps to reproduce

{-# OPTIONS_GHC -ddump-simpl -dno-suppr #-}

When typing -dno-suppr, select the -dno-suppress-type-signatures suggestion.

Expected behaviour

{-# OPTIONS_GHC -ddump-simpl -dno-suppress-type-signatures #-}

Actual behaviour

{-# OPTIONS_GHC -ddump-simpl -dno-dno-suppress-type-signatures #-}

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidelevel: easyThe issue is suited for beginnerstype: 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