This is D2 code: void foo(T)(T) { bool b = __traits(isStaticArray, T); } void main() { int[0] arr; foo(arr); } dmd 2.043 gives at runtime: Internal error: ..\ztc\cod2.c 4333
The same error is produced by: void foo(int[0]); void main() { int[0] arr; foo(arr); } It has nothing to do with __traits.
changeset 459
Fixed DMD2.044