@@ -394,7 +394,7 @@ execForeign env ctxt arity ty fn xs onfail
394 execApp env ctxt ioUnit (drop arity xs)
394 execApp env ctxt ioUnit (drop arity xs)
395 _ -> execFail . Msg $
395 _ -> execFail . Msg $
396 "The argument to fileRemove should be a constant string, but it was " ++
396 "The argument to fileRemove should be a constant string, but it was " ++
397− show handle ++
397+ show fileStr ++
398 ". Are all cases covered?"
398 ". Are all cases covered?"
399 | Just (FFun "fileClose" [(_,handle)] _) <- foreignFromTT arity ty fn xs
399 | Just (FFun "fileClose" [(_,handle)] _) <- foreignFromTT arity ty fn xs
400 = case handle of
400 = case handle of