DSolve: The Function Y appears with no arguments

Hi Guys

I’m really struggling to work out with this does not work…

DSolve[{y´[t] == (1/t)*((y^2)[t] + y[t]), y[1] = -2}, y[t], t]

I get the error message…

DSolve::dvnoarg: The function y appears with no arguments. 

I would be hugely grateful if someone were able to help me.

Many thanks

Michael

The [t] needs to go with y, not with y^2. Also the initial condition is done with ==

Ok, I write
DSolve[{y´[t] == (y^2 + y[t])/t, y[1] == -2}, y[t], t] in Mathematica and the result its the same, DSolve::dvnoarg: The function y appears with no arguments, what its the problem?

I should have said the [t] goes with all the instances of y. Should be y[t]^2