https://issues.dlang.org/show_bug.cgi?id=14924
Issue ID: 14924 Summary: Error in std.uri definition/description Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: s_dlang_bugzi...@asylum.id.au dmd2.068.0 size_t defined as (from http://dlang.org/type.html): "size_t is an alias to one of the unsigned integral basic types" (i.e. size_t is unsigned) Both uriLength and emailLength return size_t. ...but are supposed to return -1 if invalid Cannot use a test that uses "< 0". Additionaly, dmd does not issue any warning when performing this test. --