[Issue 8504] Template attribute inferrence doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 21 23:04:04 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8504
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-21 23:04:02 PST ---
A simple test case from: http://d.puremagic.com/issues/show_bug.cgi?id=6902#c6
cat > bug.d << CODE
void a()
{
function void() { }();
}
void b()
{
static void safe_nothrow() @safe nothrow pure { }
auto f = &safe_nothrow;
enum mangle = typeof(*f).mangleof;
static assert(mangle == "FNaNbNfZv", mangle);
}
CODE
dmd -c bug
--
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