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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
                 CC|                            |[email protected]

--- Comment #2 from [email protected] ---
Reduced further:

----
enum e = is(typeof(fun!()));
void fun()() { auto m = MapResult!()(0); }
alias f = fun!();

struct MapResult()
{
    this(int) {}
    void front() { undefined(); }
}
----

Looks similar to issue 16239.

When the 0 in `MapResult!()(0)` is removed, the program compiles and links
(with -main). => accepts-invalid

--

Reply via email to