[GHC] #12906: GHC fails to typecheck Main module without main
GHC
ghc-devs at haskell.org
Thu Dec 1 00:33:37 UTC 2016
#12906: GHC fails to typecheck Main module without main
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Other
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Given a `Main` module without a `main` value, GHC 8 reports the missing
`main` and then exits, without bothering to typecheck the rest of the
module. Previous versions, I believe, had the more useful behavior of
reporting type errors regardless.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12906>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list