[Issue 9249] Defining opCast disables downcasting and explicit upcasting

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 20:58:24 PST 2013


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



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-10 20:58:23 PST ---
I've tried a version as old as 2.032 which has the same behavior. It's odd this
wasn't picked up before.

What I think should happen is opCast should be tried first, and if it can't be
instantiated try to do the regular upcast/downcast.

-- 
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