[GHC] #15238: T13838 fails in ghci way
GHC
ghc-devs at haskell.org
Wed Jun 6 15:25:55 UTC 2018
#15238: T13838 fails in ghci way
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
{{{
Wrong exit code for T13838(ghci) (expected 1 , actual 0 )
Stderr ( T13838 ):
T13838:6:30: error:
• Couldn't match expected type ‘IO a0’ with actual type ‘() -> ()’
• Probable cause: ‘main’ is applied to too few arguments
In the first argument of ‘GHC.TopHandler.runIOFastExit’, namely
‘main’
In the first argument of ‘(>>)’, namely
‘GHC.TopHandler.runIOFastExit main’
In the expression: GHC.TopHandler.runIOFastExit main >> return ()
*** unexpected failure for T13838(ghci)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15238>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list