Remove CoreSyn SOURCE imports
[ghc-hetmet.git] / compiler / simplCore / FloatIn.lhs
index d46cb38..8938731 100644 (file)
@@ -370,7 +370,7 @@ noFloatIntoRhs (AnnLam b _)             = not (is_one_shot b)
 noFloatIntoRhs rhs = exprIsHNF (deAnnotate' rhs)       -- We'd just float right back out again...
 
 is_one_shot :: Var -> Bool
-is_one_shot b = isId b && isOneShotBndr b
+is_one_shot b = isIdVar b && isOneShotBndr b
 \end{code}