Open sir4ur0n opened 5 years ago
Thanks for your example.
There are similar issues of using quickfix/optimize. Need some time to fix them all but it not so simple to solve (I guess).
Should be fixed in beta36.
Found an edge case that doesn't work well:
import Data.Aeson.Casing ()
-- Use snakeCase somewhere and use the quickfix to add it to imports
After quickfix/import of snakeCase:
import Data.Aeson.Casing ()
import Data.Aeson.Casing (snakeCase)
Example:
Generic
has a red squiggly line because it is not imported. Using the quickfixImport Generic of module GHC.Generics
results inWhich doesn't compile, it should be
(from, Generic)
.