incomprehensible return error bug?

g g at g.g
Sun Jan 24 23:18:30 PST 2010


g Wrote:

> strtr Wrote:
> 
> > 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.
> 

also , why in the world would you try to convert a manifest constant into a struct


More information about the Digitalmars-d-learn mailing list