T13838 fails in ghci way
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)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.4.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |