[GHC] #15617: Unboxed tuples/sum error message on `a = show 5` in expression evaluation and interactive modes
GHC
ghc-devs at haskell.org
Sun Sep 16 08:15:20 UTC 2018
#15617: Unboxed tuples/sum error message on `a = show 5` in expression evaluation
and interactive modes
-------------------------------------+-------------------------------------
Reporter: ChaiTRex | Owner:
| JulianLeviston
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.6.1-beta1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Poor/confusing | Unknown/Multiple
error message | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by JulianLeviston):
Right. It sounds like refactoring is a good idea for this. In terms of
`HscTarget`, it feels like `HscInterpreted` is possibly not named
correctly? The other three seem like actual targets: `HscC`, `HscAsm`,
`HscLlvm`.
That is, how can "Interpreted" be a target? A target is the resultant
output of a process. `Interpreted` is a method of obtaining a target. That
is, the others seems like target languages (C, assembly, LLVM bytecode).
What is `Interpreted` in that context? is it trying to say Haskell
Bytecode? (I'm not even sure what that *is*).
This is just according to my current understanding of what's going on,
which is pretty shallow.
On the other hand, DynFlags already seems quite large. Is it the right
place to determine what mode the compiler is in? I'd be guided by others'
advice here because I'm so green.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15617#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list