Updated all error messages to include modulename and function name
[matthijs/master-project/cλash.git] / NormalizeTools.hs
index f016cfa9fc34684604a8efe487ac8f254297d5c3..4eedb15c6be6505c4e28e41ef2b6a5cf1cbf88d2 100644 (file)
@@ -156,7 +156,7 @@ subeverywhere trans (Cast expr ty) = do
   expr' <- trans expr
   return $ Cast expr' ty
 
-subeverywhere trans expr = error $ "NormalizeTools.subeverywhere Unsupported expression: " ++ show expr
+subeverywhere trans expr = error $ "\nNormalizeTools.subeverywhere: Unsupported expression: " ++ show expr
 
 -- Apply the given transformation to all expressions, except for direct
 -- arguments of an application