Given a function $f(x,y)$, separate continuity means fixing $y=y_0$ then $f(x,y_0)$ is continuous with respect with $x$, and fixing $x=x_0$ then $f(x_0,y)$ is continuous with respect with $y$. Joint continuity simply means $f(x,y)$ is continuous.
It has been pointed out in other posts that separate continuity does not imply joint continuity, for example $$f(x,y) = \begin{cases}0, & x = y = 0\\[2ex] \dfrac{xy}{x^2+y^2}, & x^2+y^2 > 0\end{cases}$$ has separate continuity on $[-1,1]$ but does not have joint continuity.
So the following reasoning should be incorrect, but where am I going wrong with the following reasoning? Can anyone help explain? Thank you!
Suppose $f(x,y)$ has separate continuity. For any $(x,y)$ and any sequence $(x_n,y_m)\rightarrow (x,y)$, first fix $m$ and we have $f(x_n,y_m)\rightarrow f(x,y_m)$, then we have $f(x,y_m)\rightarrow f(x,y)$. Thus $f(x_n,y_m)\rightarrow f(x,y)$ for any $(x,y)$ and $(x_n,y_m)\rightarrow (x,y)$ and hence $f(x,y)$ is continuous.