bearophile wrote:
While this hangs my compiler, I don't know why:double[100_000] arr = 0.0; static this() { arr[] = typeof(arr[0]).init; } void main() {}
Well, it didn't hang, it just took a while. I found the problem.
bearophile wrote:
While this hangs my compiler, I don't know why:double[100_000] arr = 0.0; static this() { arr[] = typeof(arr[0]).init; } void main() {}
Well, it didn't hang, it just took a while. I found the problem.