[commit: ghc] master: User should use -package-id flag if value in question is IPID. (729bf08)

git at git.haskell.org git at git.haskell.org
Thu Oct 15 04:38:32 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/729bf08e8311736aec7dc894b640a3a8d7dd24ad/ghc

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

commit 729bf08e8311736aec7dc894b640a3a8d7dd24ad
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Sun Oct 11 11:21:31 2015 -0700

    User should use -package-id flag if value in question is IPID.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

729bf08e8311736aec7dc894b640a3a8d7dd24ad
 compiler/main/Finder.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/main/Finder.hs b/compiler/main/Finder.hs
index 208475f..d9851c6 100644
--- a/compiler/main/Finder.hs
+++ b/compiler/main/Finder.hs
@@ -663,6 +663,6 @@ cantFindErr cannot_find _ dflags mod_name find_result
                  = parens (ptext (sLit "needs flag -package-key")
                     <+> ppr (modulePackageKey mod))
               | (pkg:_) <- rhs
-                 = parens (ptext (sLit "needs flag -package-key")
+                 = parens (ptext (sLit "needs flag -package-id")
                     <+> ppr (packageConfigId pkg))
               | otherwise = Outputable.empty



More information about the ghc-commits mailing list