[Issue 12631] New: std.string.isNumeric uses among without explicit braces when calling 'std.algorithm.among' when compiling with dmd -property flag
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 24 01:53:25 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12631
Issue ID: 12631
Summary: std.string.isNumeric uses among without explicit
braces when calling 'std.algorithm.among' when
compiling with dmd -property flag
Product: D
Version: D2
Hardware: All
OS: Mac OS X
Status: NEW
Severity: minor
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: rostislav.dzinko at gmail.com
std.string.isNumeric uses among without explicit braces when calling
'std.algorithm.among' when compiling with dmd -property flag
./phobos/std/string.d(3181): Error: not a property s[0].among!('-', '+')
./phobos/std/string.d(3210): Error: not a property c.among!('e', 'E')
./phobos/std/string.d(3217): Error: not a property s[i + 1LU].among!('-', '+')
./phobos/std/string.d(3259): Error: not a property c.among!('u', 'l', 'U', 'L')
./phobos/std/string.d(3265): Error: not a property c.among!('i', 'I')
./phobos/std/string.d(3267): Error: not a property c.among!('l', 'L', 'f', 'F',
'i', 'I')
./phobos/std/string.d(3270): Error: not a property c.among!('_', ',')
./cocoa.d/source/cocoa.d(638): called from here:
isNumeric(str[2..__dollar - 1LU], false)
./cocoa.d/source/cocoa.d(641): called from here: containsOnlyTag("
${123} ")
./cocoa.d/source/cocoa.d(641): while evaluating: static
assert(containsOnlyTag(" ${123} "))
--
More information about the Digitalmars-d-bugs
mailing list