incomprehensible return error bug?

strtr strtr at spam.com
Sun Jan 24 16:16:36 PST 2010


strtr Wrote:

> This error also points to the enum which is probably incorrectly used somewhere
> s_def(32) Error: cannot implicitly convert expression (5) of type int to S
> 
> Still searching for the original bug btw :(

Found it, also a return type mismatch problem; returning a enum member where the encapsulating struct should have been returned.


More information about the Digitalmars-d-learn mailing list