Summary: __gshared and UFCS - "Error: nested structs with
                    constructors are not yet supported in CTFE (Bug 6419)"
           Product: D
           Version: D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from simendsjo <> 2012-03-28 00:41:09 PDT ---
The following worked on an earlier head of 2.059, but as of yesterday, it

import std.algorithm, std.array, std.utf, std.conv;
void main() {
    auto ok = [1].map!("a*1")().array();
    __gshared auto ok2 = [1].map!("a*1")();
    __gshared auto bug = [1].map!("a*1")().array();

Only tested on linux with and without -m32

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to