From bacb08acf59146b207e1c16c4ff2886396b92db3 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Wed, 6 Jul 2016 17:47:16 -0400 Subject: [PATCH] `raco decompile`: Suggest `raco make` when the file isn't compiled. --- pkgs/compiler-lib/compiler/commands/decompile.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/compiler-lib/compiler/commands/decompile.rkt b/pkgs/compiler-lib/compiler/commands/decompile.rkt index bada535b72..1a4d058032 100644 --- a/pkgs/compiler-lib/compiler/commands/decompile.rkt +++ b/pkgs/compiler-lib/compiler/commands/decompile.rkt @@ -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