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


Trass3r <mrmoc...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid


--- Comment #5 from Trass3r <mrmoc...@gmx.de> 2011-02-18 15:51:23 PST ---
I think this should be tackled at a deeper level, probably somewhere around
MATCH TypeClass::implicitConvTo(Type *to) in mtype.c

to allow implicit conversions of interfaces to Object in general.

Then also this works:

void foo(Object o) {}
Interface i;

foo(i);
// or 
Object o = i;

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

Reply via email to