X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FHscTypes.lhs;h=22f5a9caf17969147ee57dfacf183bee43d921dd;hp=03bcca5e1e541f077ea2ad34bd77372911b2b334;hb=c0ac8b6b2192d296fc28bfc8eb566123e8d72bf0;hpb=9761825a6ee1c7c0b7115b9b7f58bd3b3e8cb5fe diff --git a/compiler/main/HscTypes.lhs b/compiler/main/HscTypes.lhs index 03bcca5..22f5a9c 100644 --- a/compiler/main/HscTypes.lhs +++ b/compiler/main/HscTypes.lhs @@ -1344,7 +1344,7 @@ lookupType dflags hpt pte name lookupTypeHscEnv :: HscEnv -> Name -> IO (Maybe TyThing) lookupTypeHscEnv hsc_env name = do eps <- readIORef (hsc_EPS hsc_env) - return $ lookupType dflags hpt (eps_PTE eps) name + return $! lookupType dflags hpt (eps_PTE eps) name where dflags = hsc_dflags hsc_env hpt = hsc_HPT hsc_env