is it bug?

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 30 05:43:30 PST 2015


On 30.01.2015 16:35, drug wrote:
> On 30.01.2015 16:14, anonymous wrote:
>> On Friday, 30 January 2015 at 13:11:35 UTC, anonymous wrote:
>>> Lines 846-850:
>>>
>>>         static if(less == "a < b")
>>>             auto vals = [1, 2, 3, 4, 5];
>>>         else
>>>             auto vals = [5, 4, 3, 2, 1];
>>>         assert(equal(r, vals));
>>
>> (Tab + Enter strikes again.)
>>
>> That test looks wrong. So, Phobos bug I think.
> I guess it is bug in this unittest, because it fails if I set predicate
> less to "a<b" instead of "a < b". Spaces rule in this case.

Filed a bug https://issues.dlang.org/show_bug.cgi?id=14082


More information about the Digitalmars-d-learn mailing list