Skip to content

Happy emits {-# LANGUAGE PartialTypeSignatures #-} twice #339

@andreasabel

Description

@andreasabel

Happy emits {-# LANGUAGE PartialTypeSignatures #-} twice, e.g in this happy-generated file:

{-# LANGUAGE PartialTypeSignatures #-}
#if __GLASGOW_HASKELL__ >= 710
{-# LANGUAGE PartialTypeSignatures #-}
#endif

This leads to plaguing hlint warnings:
Image

Since we dropped GHC 7, we can drop all the >=7.10 conditionals to fix this issue.

See also:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions