[Issue 3265] .classinfo for Interface-typed reference does not return instance's ClassInfo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 25 08:45:59 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3265


HOSOKAWA Kenchi <hskwk at inter7.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
           Priority|P2                          |P4
           Severity|major                       |normal




--- Comment #2 from HOSOKAWA Kenchi <hskwk at inter7.jp>  2009-08-25 08:45:59 PDT ---
My friend noted that it is reasonable that interface.classinfo returns
interface's classinfo for IUnknown or Interface to C++.
It sound true so that I changed the issue as not important.


I suggest that at least this spec should be documented.
This behavior is very confusing, I suppose it is better to replace classinfo
property from interface reference by other appropriate way.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list