https://d.puremagic.com/issues/show_bug.cgi?id=12378

           Summary: Compiler accepts any syntactically-valid code inside
                    double-nested map predicate
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Vladimir Panteleev <[email protected]> 2014-03-16 
07:37:32 EET ---
///////// test.d /////////
import std.algorithm;
import std.range;

void main()
{
    iota(1).map!(y0 =>
        iota(2).map!(x0 =>
            ANYTHING-GOES
        )
    );
}
//////////////////////////

This will compile but will not link.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to