https://issues.dlang.org/show_bug.cgi?id=14621
Issue ID: 14621 Summary: ICE: Assertion failure: 'global.gaggedErrors || global.errors' on line 752 in file 'statement.c' Product: D Version: unspecified Hardware: x86 OS: Windows Status: NEW Keywords: ice, ice-on-invalid-code Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: renezwanenb...@gmail.com Reduced code: void main() { S s; s.foo(); } struct S { float[] array; alias array this; template erroneousTemplateInstantiation() { static assert(false); } void foo() { S ret; ret[] = erroneousTemplateInstantiation!(); } } --