[Issue 5708] Error in std.typecons when -release, -inline, and -noboundscheck are all enabled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 6 00:46:00 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5708


kennytm at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennytm at gmail.com


--- Comment #5 from kennytm at gmail.com 2011-03-06 00:43:01 PST ---
It has nothing to do with the AA. Also, -inline alone is actually enough to
trigger this bug. This seems to be a problem in string pooling in compile time.


import std.conv;
import std.typecons;

void ik(T,U)(T t, U u) {
    Tuple!(T,U) x;
}
pragma(msg, ik!(string,string));

void main() {
    () { to!string("lit"); } ();
}

-- 
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