From 6c40fb33b56586bc66d3dec37b33a5f19d90ec15 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 5 Sep 2022 00:02:21 +0300 Subject: fix(corp/tvixbolt): move output above bytecode section 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 --- corp/tvixbolt/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))} } -- cgit 1.4.1