[Issue 7917] -inline option fails for complex expressions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 17 11:14:11 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7917
--- Comment #5 from bearophile_hugs at eml.cc 2012-04-17 11:15:02 PDT ---
(In reply to comment #4)
> As far as I can see in the time available any further reduction loses the error
> message.
A first reduction:
import std.algorithm: map;
import std.typecons: tuple, Tuple;
int foo(Tuple!(int)) {
return 1;
}
void main() {
int x = 2;
map!foo(map!(_ => tuple(x))([3]));
}
--
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