#2116: ghci should try to read erroneous modules partially
--------------------------------+-------------------------------------------
Reporter: j.waldmann | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
--------------------------------+-------------------------------------------
If ghci (re-)reads a module that contains some error,
then it considers the module loading as a complete failure,
and at the prompt I get the Prelude environment.
It is understandable that ghci rejects modules with syntax errors,
but for syntactically correct modules with type errors
I wish that at least the effect of import statements
would be visible.
Perhaps even some partial type checking could be done,
and declarations that pass this can be executed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2116>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs