On Fri, 22 Aug 2014, Jason Merrill wrote:

On 08/22/2014 03:24 PM, Marc Glisse wrote:
Note that there is a patch waiting for a review that makes us accept !v
for vector v:

Ah, indeed. I still think we might as well treat vectors the same as other types here.

Ok, now that it is a conscious choice, it feels much safer :-)
Though depending on where exactly this is called, it would be funny if we warned for !v==-1 but not for !v==true, when the possible values for the elements of !v are actually {-1,0}. I guess I'll have to test after Marek commits.

Thanks,

--
Marc Glisse

Reply via email to