File tree Expand file tree Collapse file tree
javascript/ql/src/semmle/javascript/frameworks/AngularJS Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1062,21 +1062,21 @@ private class RouteInstantiatedController extends Controller {
10621062/**
10631063 * Dataflow for the arguments of AngularJS dependency-injected functions.
10641064 */
1065- private class DependencyInjectedArgumentInitializer extends DataFlow:: AnalyzedValueNode {
1065+ private class DependencyInjectedArgumentInitializer extends DataFlow:: AnalyzedNode {
10661066 DataFlow:: AnalyzedNode service ;
10671067
10681068 DependencyInjectedArgumentInitializer ( ) {
10691069 exists (
1070- AngularJS:: InjectableFunction f , SimpleParameter param , AngularJS:: CustomServiceDefinition def
1070+ AngularJS:: InjectableFunction f , Parameter param , AngularJS:: CustomServiceDefinition def
10711071 |
1072- astNode = param . getAnInitialUse ( ) and
1072+ this = DataFlow :: parameterNode ( param ) and
10731073 def .getServiceReference ( ) = f .getAResolvedDependency ( param ) and
10741074 service = def .getAService ( )
10751075 )
10761076 }
10771077
10781078 override AbstractValue getAValue ( ) {
1079- result = DataFlow:: AnalyzedValueNode .super .getAValue ( ) or
1079+ result = DataFlow:: AnalyzedNode .super .getAValue ( ) or
10801080 result = service .getALocalValue ( )
10811081 }
10821082}
You can’t perform that action at this time.
0 commit comments