In our previous episode, Jonas Maebe said:
> > Funny, but I have also encountered the problem in this place yesterday :) 
> > But with PVariant(VarResult)^ in my case.
> > Yes, the declaration of ITypeInfo.Invoke() should be changed to eliminate 
> > unwanted compiler magic with managed types when a nil is passed.
> > I'll commit the required changes today or tomorrow.
> 
> Can't you add an overloaded version to avoid breaking backward
> compatibility? 

Afaik there is no overloading in interfaces?

> Or does this problem occur all the time, so that it's better to break
> compilation than have people hunt all over the source code to find all
> possible problem locations?

I also don't think this is used that much. Afaik 2.6.0 is the first release
with most of the autoobject and activex stuff merged back.

So if there is a change needed, better do it asap.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to