Commit ead91982 authored by Andrew Gibiansky's avatar Andrew Gibiansky

fixes ihaskell test nb

parent 0e6dc7e5
......@@ -63,7 +63,7 @@ library
bytestring,
directory,
-- Use diagrams wrapper package to ensure all same versions of subpackages
diagrams==1.1.*,
diagrams==1.2.*,
diagrams-lib,
diagrams-cairo,
ihaskell >= 0.4
......
This diff is collapsed.
......@@ -168,7 +168,8 @@ evalImport imports = do
-- Check whether an import is the same as another import (same module).
importOf :: ImportDecl RdrName -> InteractiveImport -> Bool
importOf _ (IIModule _) = False
importOf imp (IIDecl decl) = ((==) `on` (unLoc . ideclName)) decl imp
importOf imp (IIDecl decl) =
((==) `on` (unLoc . ideclName)) decl imp && not (ideclQualified decl)
-- Check whether an import is an *implicit* import of something.
implicitImportOf :: ImportDecl RdrName -> InteractiveImport -> Bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment