-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Steps to reproduce
A.hs
:
{-# LANGUAGE PatternSynonyms #-}
module A (pattern Pat, val) where
pattern Pat :: Int
pattern Pat = 42
val :: String
val = "foo"
B.hs
:
{-# OPTIONS -Wall #-}
{-# LANGUAGE PatternSynonyms #-}
module B where
import A (pattern Pat, val)
bval :: String
bval = val ++ "bar"
- Trigger code action in
B.hs
overpattern Pat
import
Expected behaviour
An option to remove redundant Pat
import should appear
Actual behaviour
No redundant import actions appear
Metadata
Metadata
Assignees
Labels
status: needs triagetype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..