From 952ce8c17e115ce127c09699a5e5ac1288124f87 Mon Sep 17 00:00:00 2001 From: gluax Date: Fri, 2 Apr 2021 04:45:02 -0400 Subject: [PATCH] allow mutable method from immutable context --- asg/src/expression/circuit_init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asg/src/expression/circuit_init.rs b/asg/src/expression/circuit_init.rs index a36fa5a43c..3eced2d008 100644 --- a/asg/src/expression/circuit_init.rs +++ b/asg/src/expression/circuit_init.rs @@ -67,7 +67,7 @@ impl<'a> ExpressionNode<'a> for CircuitInitExpression<'a> { } fn is_mut_ref(&self) -> bool { - false + true } fn const_value(&self) -> Option {