# Bug in Contour Plot [duplicate]

I think the following are bugs:

ContourPlot[y (x - 1)^2 == 0, {x, 0, 2}, {y, -2, 10}]

ContourPlot[Exp[-y]*(x - 1)^2 == 0, {x, 0, 2}, {y, -2, 10}]

Please note that I'm not refering to the lack of resolution. I'm talking about the fact that there should be a vertical line $$x=1$$.

It seems the problem is due to the $$(x-1)^2$$ term, since without the square, it works fine.