8000 [UX] Something is amiss; requested module ... differs from name found in the interface file ... · Issue #19 · stable-haskell/ghc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[UX] Something is amiss; requested module ... differs from name found in the interface file ... #19
Open
@angerman

Description

@angerman
Warning: this is a debug build of cabal-install with assertions enabled.
Configuring library for deepseq-1.5.1.0...
Warning: this is a debug build of cabal-install with assertions enabled.
Preprocessing library for deepseq-1.5.1.0...
Building library for deepseq-1.5.1.0...
[1 of 1] Compiling Control.DeepSeq
Control/DeepSeq.hs:132:1: error: [GHC-53693]
    Something is amiss; requested module  ghc-internal-9.1300.0:GHC.Internal.Tuple differs from name found in the interface file ghc-internal-9.1300.0:GHC.Internal.Tuple (if these names look the same, try again with -dppr-debug)
    |
132 | import GHC.Tuple (Solo (..))
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

☝️ this could be polished, as in: is there something we can do to make GHC produce better info what is broken, and how to rectify this. As the above notice is fairly useless. "if these names look the same? Like, hello computer? "ghc-internal-9.1300.0:GHC.Internal.Tuple" == "ghc-internal-9.1300.0:GHC.Internal.Tuple"? I'm sure you can see this?! Why ask me to enable some -dppr-debug, and not show this to me right away?!

This error message must be able to be made more helpful?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0