From 2f3a51860ba347553968a312ac82c955d2c9da50 Mon Sep 17 00:00:00 2001 From: collin Date: Mon, 22 Jun 2020 21:02:18 -0700 Subject: [PATCH] fix circuit name --- compiler/src/constraints/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/constraints/value.rs b/compiler/src/constraints/value.rs index 6bdeb17d86..e2c2e82f7e 100644 --- a/compiler/src/constraints/value.rs +++ b/compiler/src/constraints/value.rs @@ -224,7 +224,7 @@ impl> fmt::Display for ConstrainedValue write!(f, "circuit {{ {} }}", circuit.identifier), + ConstrainedValue::CircuitDefinition(ref circuit) => write!(f, "circuit {{ {} }}", circuit.circuit_name), ConstrainedValue::Function(ref _circuit_option, ref function) => { write!(f, "function {{ {}() }}", function.function_name) }