diff options
author | Vincent Ambo <mail@tazj.in> | 2022-09-04T21·02+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-09-05T02·17+0000 |
commit | 6c40fb33b56586bc66d3dec37b33a5f19d90ec15 (patch) | |
tree | a8f162da757835e6279700f498fa053d96a5a354 | |
parent | 18efbac5c5b5f932d65cec95507c0c1014741d0b (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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/corp/tvixbolt/src/main.rs b/corp/tvixbolt/src/main.rs index c4359dc6dc1e..2d001dde8003 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))} </> } |