Skip to content

Unrequired language pragmas when using GHC2021 #1386

Open
@dbeacham

Description

@dbeacham

If I have a file with a flag turned on by GHC2021, e.g. {-# LANGUAGE TypeApplications #-} and run

> hlint -XGHC2021 fileWithTypeApplicationOn.hs

should I expect it to pick up the language pragma as unrequired or duplicate?

I'm not currently seeing any warnings but I'm also not sure if that's expected behaviour.

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