DIP9 -- Redo toString API

Jonathan M Davis jmdavisProg at gmx.com
Fri Nov 19 11:02:34 PST 2010


On Friday, November 19, 2010 10:26:40 Steven Schveighoffer wrote:
> On Fri, 19 Nov 2010 12:51:29 -0500, Jonathan M Davis <jmdavisProg at gmx.com>
> 
> wrote:
> > On Friday, November 19, 2010 05:54:15 Steven Schveighoffer wrote:
> >> On Thu, 18 Nov 2010 17:21:20 -0500, Steven Schveighoffer
> >> 
> >> <schveiguy at yahoo.com> wrote:
> >> > I just created a new D Improvement Proposal to fix the toString
> >> 
> >> problem
> >> 
> >> > I brought up several posts ago.
> >> > 
> >> > See: http://prowiki.org/wiki4d/wiki.cgi?LanguageDevel/DIPs/DIP9
> >> 
> >> I've made suggested changes, please review again.
> >> 
> >> Thanks
> > 
> > The difference between the text and the function signature still exists
> > (the text
> > says that sink is const scope whereas the signature just says scope),
> 
> Maybe you are confusing sink with sink's parameter, which is marked 'in'?
> I reworded the text to make it clearer.

The way I read it was that the delegate was supposed to be scope const, so if 
that's not the case, the original text wasn't clear enough, bu it's definitely 
clearer now.

- Jonathan M Davis


More information about the Digitalmars-d mailing list