[Issue 8477] [2.060 beta] Strange error calling member func from	overridden Exception::toString()
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jul 30 17:22:24 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8477
Jonathan M Davis <jmdavisProg at gmx.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com
--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-07-30 17:22:22 PDT ---
> But toString needs to be implemented with some consistency in Phobos.. Object.toString isn't const, but Throwable.toString is. What's it gonna be?
We're going to move to a model where Object doesn't even _have_ toString on it.
So, in the long run, the constancy of Object's toString is irrelevant, and
since whether a particular type should have a const toString or not depends on
the type and what it's doing, it's ultimately _not_ a question of consistency.
I'd expect Throwable and its ilk to have a const toString in the long run.
Whether it should be const right now or not, I don't know, since the issue with
Object and its various functions is still being sorted out.
-- 
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