From 46c53d5ce5a1d00f29ffea0c3741d972e4beab97 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 18 Nov 2014 04:17:57 -0800 Subject: Special case interactive package key for mkQualPackage. Signed-off-by: Edward Z. Yang --- compiler/main/HscTypes.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main/HscTypes.lhs b/compiler/main/HscTypes.lhs index 0c73c140eb..bb3fd380bc 100644 --- a/compiler/main/HscTypes.lhs +++ b/compiler/main/HscTypes.lhs @@ -1494,7 +1494,7 @@ mkQualModule dflags mod -- with a package key if the package ID would be ambiguous. mkQualPackage :: DynFlags -> QueryQualifyPackage mkQualPackage dflags pkg_key - | pkg_key == mainPackageKey + | pkg_key == mainPackageKey || pkg_key == interactivePackageKey -- Skip the lookup if it's main, since it won't be in the package -- database! = False -- cgit v1.2.1