https://issues.dlang.org/show_bug.cgi?id=12202

--- Comment #2 from [email protected] ---
OK, managed to cut it down to an almost bare-minimal test case:

----range.d----
@property front()() { }
---------------

----test.d----
struct S
{
    import range;
}
unittest
{
    S a1;
    foreach(i, e; a1)
    {
    }
}
---------------

Compiler command: dmd -main -unittest test.d

--

Reply via email to