is this a typographical bug?

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 30 13:23:49 PDT 2016


On 08/30/2016 10:25 AM, WhatMeWorry wrote:
> Error: module std.string import 'removeChars' not found, did you mean
> template 'removechars(S)(S s, in S pattern) if (isSomeString!S)'?
>
> Shouldn't it be removeChars? All the other library calls seem to be
> camelCased.  Should i not bother to open a change request because this
> would cause too much existing code to break?  Maybe they could add
> removeChars in addition to leaving removechars?
>
> I lost a whole 90 seconds trying to debug this :)
>

Known issue with some background:

   https://issues.dlang.org/show_bug.cgi?id=7009

Ali



More information about the Digitalmars-d-learn mailing list