Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/614a17f912259c3d0450bf29a0e31494161b523b

>---------------------------------------------------------------

commit 614a17f912259c3d0450bf29a0e31494161b523b
Author: Simon Marlow <[email protected]>
Date:   Tue Jul 19 16:05:17 2011 +0100

    note that we don't understand a comment (#5249)

>---------------------------------------------------------------

 compiler/main/GHC.hs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index b73df73..c0c5a96 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -932,6 +932,8 @@ getModuleInfo mdl = withSession $ \hsc_env -> do
   {- if isHomeModule (hsc_dflags hsc_env) mdl
        then return Nothing
        else -} liftIO $ getPackageModuleInfo hsc_env mdl
+   -- ToDo: we don't understand what the following comment means.
+   --    (SDM, 19/7/2011)
    -- getPackageModuleInfo will attempt to find the interface, so
    -- we don't want to call it for a home module, just in case there
    -- was a problem loading the module and the interface doesn't



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to