[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 01:05:04 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5708
--- Comment #7 from kennytm at gmail.com 2011-03-06 01:02:07 PST ---
Further removing all Phobos dependency:
string b(string s) { return s; }
string a(string s) { return b(s); }
void ik(T)(T) {
enum p = a("foo");
enum q = a("bar");
static assert(q == "bar");
}
alias ik!int ik2;
void main() {
cast(void) () { a("lit"); };
}
Currently asserts:
y.d(7): Error: static assert ("foo" == "bar") is false
y.d(9): instantiated from here: ik!(int)
--
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