Skip to content

Unexpected import (implicit) Prelude code lens #2798

Closed
@konsumlamm

Description

@konsumlamm

Example

import_implicit_prelude1

I'm not sure if the import (implicit) Prelude code lens itself supposed to be a feature or not, but the import code lens for the module isn't shown. When a newline is added before, this doesn't occur:

import_implicit_prelude2

GHC version: 9.2.2
HLS version: 1.7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    GHCissues with particular GHC versionscomponent: imports pluginlevel: 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