incomprehensible return error bug?

strtr strtr at spam.com
Sun Jan 24 15:41:58 PST 2010


enum { A = 0, B, C }

void func(){ return A; }

void main()
{
}

main.d(1): Error: long has no effect in expression (0)

Is this a bug?


More information about the Digitalmars-d-learn mailing list