On 2013-06-23 17:29, Lemonfiend wrote:

Using the .classinfo is what I looked at before asking here.
However, according to the specs:
".classinfo applied to an interface gives the information for the
interface, not the class it might be an instance of."
So the i.classinfo and B.classinfo would be different?

That might be the case, didn't think of that. In that case you need casts anyway.

--
/Jacob Carlborg

Reply via email to