ttencate/eclipsefp — Issue #3: Remove redundant import leaves behind "()" after removing operator
Author: misterbeebee
Created: 2012-01-22 19:24:31+00:00
State: open

Repro:

Write this code in EclipseFP:

module Issue where
import Data.Sequence ((><), empty)

x = empty

EclipseFP reports

The import of `><'
from module `Data.Sequence' is redundant

If you let Eclipse FP Quick-Fix the problem, the result is this:

import Data.Sequence ((), empty)

notice the invalid `()` in the import list