[Issue 3757] Overloading const function with overridden non-const function results in seg fault.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 28 13:21:21 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |timon.gehr at gmx.ch
         Resolution|FIXED                       |


--- Comment #6 from timon.gehr at gmx.ch 2012-01-28 13:21:17 PST ---
(In reply to comment #2)
> This is an undiagnosed error. Both Derived.f functions override Base.f.

The first Derived.f overrides Base.f, the second is an additionally introduced
overload. According to http://www.d-programming-language.org/function , this
should not be a compile error but behave as stated in the bug report.

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