www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - is this a typographical bug?

reply WhatMeWorry <chaser gmail.com> writes:
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 :)
Aug 30 2016
parent =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
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
Aug 30 2016