TypeExpression rejected when used for a parametric alias-exp
test case
unit temp;
alias Exp(T) => T;
enum PropMin
{
e0 = 1
}
static assert(PropMin.min == 1);
static assert(Exp(PropMin).min == 1);
output
temp.sx:11:19: error, expression
PropMin
represents a type and has no value
temp.sx:11:18: error, starting from here
notes
Both static assertions should be verified.