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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Adding a test case:

import std.algorithm;

enum a = [1.0].map!(n => n); // works

struct Foo()
{
    enum b = [1.0].map!(n => n); // identical line
}

void main()
{
    pragma(msg, a);
    pragma(msg, Foo!().b); // instantiation fails
}

--

Reply via email to