http://d.puremagic.com/issues/show_bug.cgi?id=4108
Summary: [ICE] __traits(isStaticArray) on empty static array
Product: D
Version: future
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2010-04-21 13:45:12 PDT ---
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------