avoid Foreign.unsafePerformIO
[ghc-hetmet.git] / compiler / ghci / ByteCodeGen.lhs
index ad94e0c..5d1bd27 100644 (file)
@@ -1028,7 +1028,8 @@ generateCCall d0 s p (CCallSpec target cconv _) fn args_r_to_l
             = case target of
                  DynamicTarget
                     -> return (False, panic "ByteCodeGen.generateCCall(dyn)")
-                 StaticTarget target
+
+                 StaticTarget target _
                     -> do res <- ioToBc (lookupStaticPtr stdcall_adj_target)
                           return (True, res)
                    where