prevent GHCi (and runghc) from suggesting other symbols when not finding main
Previously with no main
in scope :main
would yield:
<interactive>:1:1: error:
Variable not in scope: main :: IO a0
Suggested fix: Perhaps use ‘min’ (imported from Prelude)
This is of course confusing as we have no intention of using min
.
Now, instead we are presented with (ignore the new diagnostics code)
<interactive>:1:1: error: [GHC-76037]
Not in scope: ‘main’