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: nob...@puremagic.com ReportedBy: c...@benjamin-thaut.de --- Comment #0 from Benjamin Thaut <c...@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: -------