[Issue 12378] New: Compiler accepts any syntactically-valid code inside double-nested map predicate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 15 22:37:33 PDT 2014
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: nobody at puremagic.com
ReportedBy: thecybershadow at gmail.com
--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list