You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function foo (x) {
var y = 0;
while (1) {
if (x == 0) return y;
x = x - 1;
y = y + 1;
}
}
template Bar () {
signal input x;
signal output y;
y <-- foo (x);
y === x;
}
component main = Bar ();
the compiler hangs up. Expected behavior is to compile it without errors and hang ups.
Function foo basically just returns its argument.
The text was updated successfully, but these errors were encountered:
When I try to compile the following circuit:
the compiler hangs up. Expected behavior is to compile it without errors and hang ups.
Function
foo
basically just returns its argument.The text was updated successfully, but these errors were encountered: