[Issue 10076] expression.c:4310: virtual Expression* TypeExp::semantic(Scope*): Assertion `0' failed.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 13 23:04:29 PDT 2013


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



--- Comment #2 from simendsjo <simendsjo at gmail.com> 2013-05-13 23:04:28 PDT ---
Here's a dustmine reduced testcase. Run with `dmd -unittest`.

unittest
{
string s;

validate(s);
}

template getValidaterAttrs(T)
{
alias getValidaterAttrs = getMembersAndAttributesWhere!().Elements;
}

string[] validate(T)(T )
{   alias memberAttrs = getValidaterAttrs!T;
if(!memberAttrs.length)
return ;

}

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