[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477


Jacob Carlborg d...@me.com changed:

   What|Removed |Added

 CC||d...@me.com


--- Comment #7 from Jacob Carlborg d...@me.com 2012-07-31 01:14:25 PDT ---
 We're going to move to a model where Object doesn't even _have_ toString on 
 it.

Has there been some kind of official agreement on this? I followed the
discussion and to me it looked more like it was going to be possible to have
both const and non-const versions of the methods in Object. Is this only your
opinion, were there a private discussion or have I just missed it?

This is a big change and I really think these decisions need to be properly
announced.

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


[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477



--- Comment #8 from Jonathan M Davis jmdavisp...@gmx.com 2012-07-31 01:23:51 
PDT ---
It's official.

http://forum.dlang.org/post/jtlj1k$1fdj$1...@digitalmars.com

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


[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

 CC||andrej.mitrov...@gmail.com


--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-07-30 
15:49:37 PDT ---
(In reply to comment #1)
 So it's either invalid report or request for better diagnostics.

Your second point is implicit as the numerous complaints show. 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?

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


[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477



--- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-07-30 17:27:36 PDT ---
(In reply to comment #2)
 (In reply to comment #1)
  So it's either invalid report or request for better diagnostics.
 
 Your second point is implicit as the numerous complaints show. 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?

It's my mistake. I had reverted const qualifer of Object member functions, but
forgotten about Throwable's.

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


[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
  Component|DMD |druntime
Version|unspecified |D2


--- Comment #5 from Kenji Hara k.hara...@gmail.com 2012-07-30 18:11:27 PDT ---
This is druntime issue.

https://github.com/D-Programming-Language/druntime/pull/284

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


[Issue 8477] [2.060 beta] Strange error calling member func from overridden Exception::toString()

2012-07-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8477


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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