tuned error;
authorwenzelm
Thu, 11 Aug 2016 18:26:16 +0200
changeset 63668 5efaa884ac6c
parent 63667 24126c564d8a
child 63669 256fc20716f2
tuned error;
src/Pure/General/file.ML
--- a/src/Pure/General/file.ML	Thu Aug 11 15:36:17 2016 +0200
+++ b/src/Pure/General/file.ML	Thu Aug 11 18:26:16 2016 +0200
@@ -98,11 +98,11 @@
 
 fun check_dir path =
   if exists path andalso is_dir path then path
-  else error ("No such directory: " ^ Path.print path);
+  else error ("No such directory: " ^ Path.print (Path.expand path));
 
 fun check_file path =
   if exists path andalso not (is_dir path) then path
-  else error ("No such file: " ^ Path.print path);
+  else error ("No such file: " ^ Path.print (Path.expand path));
 
 
 (* open streams *)