If you have a function thats

f(z) = g(w)/(z^2-2i) and you want the residue at z = 1+i, z^2 = 2i and g(w) analytic at the point

would the order of the pole still be 1 even though its z^2?

or would this require the laurent series to determine properly?

thanks for any help