I'm not sure how common this is, but it confused me for years. Let $f : \mathbb{C} \to \mathbb{C}$ be an analytic function and $\gamma$ a path in $\mathbb{C}$. In your first class in complex analysis, you define the integral $\int_{\gamma} f(z) dz$.
Now let $a(x,y) dx + b(x,y) dy$ be a $1$-form on $\mathbb{R}^2$ and let $\gamma$ be a path in $\mathbb{R}^2$. In your first class on differential geometry, you define the integral $\int_{\gamma} a(x,y) dx + b(x,y) dy$.
It took me at least three years after I had taken both classes to realize that these notations are consistent. Until then, I thought there was a "path integral in the sense of complex analysis", and I wasn't sure if it obeyed the same rules as the path integral from differential geometry. (By way of analogy, although I wasn't thinking this clearly, the integral $\int \sqrt{dx^2 + dy^2}$, which computes arc length, is NOT the integral of a $1$-form, and I thought complex integrals were something like this.)
For the record, I'll spell out the relation between these notions. Let $f(x+iy) = u(x,y) + i v(x,y)$. Then $$\int_{\gamma} f(z) dz = \int_{\gamma} \left( u(x,y) dx - v(x,y) dy \right) + i \int_{\gamma} \left( u(x,y) dy + v(x,y) dx \right)$$ The right hand side should be thought of as multiplying out $\int_{\gamma} (u(x,y) + i v(x,y)) (dx + i dy)$, a notion which can be made rigorous.