-
Notifications
You must be signed in to change notification settings - Fork 27.5k
getService called with too many arguments in injector.js #1711
Comments
You're right. This seems entirely superfluous. |
There's a bunch of stuff like this that I found by running the code through the Closure Compiler. I submitted a pull request (#1710) to filter out a bit over half of the warnings, but there's still a about a hundred fifty left. I filed an issue for this one because I wanted to make sure it was intended to ignore the path parameter and this wasn't causing some bug. The stuff I fixed in my pull request aren't bugs and were mostly simple warning related to jsdocs, but cleaning up those warnings will make it so that stuff like this that could potentially be a bug isn't hidden in the output. I'm hoping we can work through them together and get clean output from the compiler in case some of the things it found really are bugs. It only took me a few hours to fix > 50% of them. |
getService fn takes only one argument, removing the second one. Closes angular#1711
getService fn takes only one argument, removing the second one. Closes angular#1711
The function getService is being called with two arguments in src/auto/injector.js as shown in the code below, but it only takes one argument.
The text was updated successfully, but these errors were encountered: