It should have become import Unison.Codebase (Codebase), but I can see how this could be a challenging case! Though import Unison.Codebase (()) is no good. 😄
ghc justs says:
/Users/arya/unison4/parser-typechecker/src/Unison/Codebase/FileCodebase/Reserialize.hs:40:1: error: [-Wunused-imports, -Werror=unused-imports]
The import of ‘BuiltinAnnotation, Codebase’
from module ‘Unison.Codebase’ is redundant
|
40 | import Unison.Codebase ( Codebase(Codebase), BuiltinAnnotation )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm not sure how you'd tell whether it's the type or the constructor name that's redundant, though. 😕
becomes
It should have become
import Unison.Codebase (Codebase)
, but I can see how this could be a challenging case! Thoughimport Unison.Codebase (())
is no good. 😄ghc justs says:
I'm not sure how you'd tell whether it's the type or the constructor name that's redundant, though. 😕