Is this a bug in iota?

Brad Anderson eco at gnuk.net
Thu Apr 19 19:05:24 PDT 2012


On Thursday, 19 April 2012 at 12:39:25 UTC, SomeDude wrote:
> On Thursday, 19 April 2012 at 11:38:39 UTC, Steven 
> Schveighoffer wrote:
>> On Thu, 19 Apr 2012 04:07:00 -0400, Jonathan M Davis 
>> <jmdavisProg at gmx.com> wrote:
>>
>>> Having an assertion may be desirable, but the bug is in the 
>>> usage of iota, not
>>> iota itself.
>>
>> Yes, and iota should detect that bug with an assert.  No case 
>> can really be made that iota shouldn't be changed.  Please 
>> file an enhancement request.
>>
>> -Steve
>
> http://d.puremagic.com/issues/show_bug.cgi?id=7944

https://github.com/D-Programming-Language/phobos/pull/545

Regards,
Brad Anderson


More information about the Digitalmars-d-learn mailing list