[fpc-devel] FPC-JVM: Problem with String => CharSequence

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 28 22:55:33 CEST 2011


On 28 Aug 2011, at 22:02, Sven Barth wrote:

> Would adding an operator overload for implicit cast solve the problem? I'm not talking about adding it to System or JDK15, but maybe a seperate unit...

I don't think that is not possible. You can at least not overload the assignment operator for types that can be explicitly typecasted to each other (which is the case for unicodestring and JLCharSequence).


Jonas


More information about the fpc-devel mailing list