On Monday, 9 July 2012 at 21:00:40 UTC, Timon Gehr wrote:
On 07/09/2012 10:46 PM, bearophile wrote:
Jacob Carlborg:

import std.algorithm;
import std.range;

struct Foo {}

auto f = Foo();
auto foos = [f];
auto foo = foos.map!(x => "foo");
auto bar = foo.chain("bar");

I suggest to always compile with "-wi -property".


Both -property and -w/-wi are broken and their only merit so far is to break my builds for no reason.

So far I have not seen one case where -property gives a wrong message. Please show me one. It's stuff for bugzilla.


-wi spits out about 4000 lines of false (duplicate) warnings when run against my code base.

Please reduce those, maybe there is some false warning that I have not yet put in Bugzilla. In general -wi spits good warnings, with few exceptions.


zip has assignable elements when the source ranges do.

It's shown in the Phobos docs too, but it's a little unexpected.

See also:
http://d.puremagic.com/issues/show_bug.cgi?id=8341

Bye,
bearophile

Reply via email to