raco decompile: Suggest raco make when the file isn't compiled.

This commit is contained in:
Sam Tobin-Hochstadt 2016-07-06 17:47:16 -04:00
parent 8377fa842f
commit bacb08acf5

View File

@ -34,7 +34,8 @@
[(file-exists? orig-file)
(unless (is-bytecode-file? orig-file)
(raise-user-error (get-name)
(~a "not a bytecode file, and no associated \".zo\" file\n"
(~a "not a bytecode file, and no associated \".zo\" file;\n"
" consider using `raco make` to compile the source file to bytecode\n"
" path: ~a\n"
" tried associated path: ~a")
orig-file