What happened?
On GHC 9.10, ghci will fail errors by unloading the module. The issue is that ghciwatch reports "All good!"
GHCi, version 9.10.1: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Parser.NWS ( src/Parser/NWS.hs, interpreted )
src/Parser/NWS.hs:15:19: error: [GHC-76037]
Not in scope: type constructor or class ‘LocalTime’
Suggested fix:
Perhaps use ‘Time.LocalTime’ (imported from Data.Time.LocalTime)
|
15 | type ReportTime = LocalTime
| ^^^^^^^^^
Failed, unloaded all modules.
• All good! Finished starting up in 419.71ms
On GHC 9.4, ghci will fail error by not loading the module:
GHCi, version 9.4.8: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Parser.NWS ( src/Parser/NWS.hs, interpreted )
src/Parser/NWS.hs:15:19: error:
Not in scope: type constructor or class ‘LocalTime’
Suggested fix:
Perhaps use ‘Time.LocalTime’ (imported from Data.Time.LocalTime)
|
15 | type ReportTime = LocalTime
| ^^^^^^^^^
Failed, no modules loaded.
⚠ Starting up failed in 449.55ms
What did you expect to happen?
I expected ghciwatch to report Starting up failed on failure for GHC 9.10.
Steps to reproduce the issue
No response
The version of ghciwatch with the bug
ghciwatch 1.1.3
What happened?
On GHC 9.10, ghci will fail errors by unloading the module. The issue is that ghciwatch reports "All good!"
On GHC 9.4, ghci will fail error by not loading the module:
What did you expect to happen?
I expected ghciwatch to report
Starting up failedon failure for GHC 9.10.Steps to reproduce the issue
No response
The version of ghciwatch with the bug
ghciwatch 1.1.3