[Issue 20092] New: void[1] auto slicing makes the compiler hang
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 30 14:53:03 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20092
Issue ID: 20092
Summary: void[1] auto slicing makes the compiler hang
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: john.loughran.colvin at gmail.com
void foo()
{
(void[1]).init.front;
}
void front(T)(T[] a) {}
hangs the compiler forever, chewing through memory.
--
More information about the Digitalmars-d-bugs
mailing list