about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-04T21·02+0300
committertazjin <tazjin@tvl.su>2022-09-05T02·17+0000
commit6c40fb33b56586bc66d3dec37b33a5f19d90ec15 (patch)
treea8f162da757835e6279700f498fa053d96a5a354
parent18efbac5c5b5f932d65cec95507c0c1014741d0b (diff)
fix(corp/tvixbolt): move output above bytecode section r/4649
Most expressions people enter will probably have a fairly small
result. It's useful to see *that* it did the correct thing before
looking at *how* it did that.

Change-Id: I50d7d4c07e41f11b71a16c00c49b9553ae9e90a5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6334
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
-rw-r--r--corp/tvixbolt/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/corp/tvixbolt/src/main.rs b/corp/tvixbolt/src/main.rs
index c4359dc6dc..2d001dde80 100644
--- a/corp/tvixbolt/src/main.rs
+++ b/corp/tvixbolt/src/main.rs
@@ -184,10 +184,10 @@ impl Output {
             <>
             {maybe_show("Parse errors:", &self.parse_errors)}
             {maybe_show("Warnings:", &self.warnings)}
+            {maybe_show("Output:", &self.output)}
             {maybe_show("Compiler errors:", &self.compiler_errors)}
             {maybe_show("Bytecode:", &String::from_utf8_lossy(&self.bytecode))}
             {maybe_show("Runtime errors:", &self.runtime_errors)}
-            {maybe_show("Output:", &self.output)}
             {maybe_show("Runtime trace:", &String::from_utf8_lossy(&self.trace))}
             </>
         }