Hello! This bug is quite easy to reproduce:
proc test(a: int, b: int = a) =
echo a, b
test(5)
I do get a compiler error, but from gcc. I imagine that's not supposed to happen. It happens both in 0.17.2 and the devel version.
