From 5afa8a3d955f0ed1c446615430d3f49e3acc9f35 Mon Sep 17 00:00:00 2001 From: Aaron Iba Date: Sun, 29 Apr 2018 15:36:30 -0400 Subject: [PATCH] Have compile-all-java return class->bytecode map --- src/virgil/compile.clj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/virgil/compile.clj b/src/virgil/compile.clj index 5aabe43..f55351c 100644 --- a/src/virgil/compile.clj +++ b/src/virgil/compile.clj @@ -157,6 +157,7 @@ (map #(vector (file->class d %) %))))) (remove #(-> % first nil?)) (map (fn [[c f]] [c (slurp f)])) - (into {}))] - (compile-java nil diag name->source) - (print-diagnostics diag))) + (into {})) + class->bytecode (compile-java nil diag name->source)] + (print-diagnostics diag) + class->bytecode))