mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
allow mutable method from immutable context
This commit is contained in:
parent
848872de15
commit
952ce8c17e
@ -67,7 +67,7 @@ impl<'a> ExpressionNode<'a> for CircuitInitExpression<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn is_mut_ref(&self) -> bool {
|
fn is_mut_ref(&self) -> bool {
|
||||||
false
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
fn const_value(&self) -> Option<ConstValue> {
|
fn const_value(&self) -> Option<ConstValue> {
|
||||||
|
Loading…
Reference in New Issue
Block a user