[Issue 11210] New: -inline rejects valid code with captured AA
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 9 12:33:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11210
Summary: -inline rejects valid code with captured AA
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: code at benjamin-thaut.de
--- Comment #0 from Benjamin Thaut <code at benjamin-thaut.de> 2013-10-09 12:33:20 PDT ---
Dmd rejects the following valid code as soon as it is compiled with -inline
import std.stdio;
import std.range;
import std.algorithm : map;
import std.string;
import std.typecons;
void main(string[] args)
{
auto content = "one two three";
uint[string] counts;
auto result = splitter(content)
.map!(a => tuple(a, counts[a]));
writefln("%s", result);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list