Hey, wanted to ask whether it is possible to increase the number of possible ctfe iterations. For example:
proc f(): int =
var c = 0
for i in 0..100000:
c += 1
return c
proc g():int =
for i in 0..100: result += f()
const s1 = g();
This fails with the message: interpretation requires too many iterationsSecifically, in ~/nim-0.18.0/compiler/vmdef.nim set MaxLoopIterations* = 1_000_000_000 (1 Billion)
then rebuild sysem: ./koch boot -d:release