We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54a1c94 commit c60b8deCopy full SHA for c60b8de
javascript/ql/lib/semmle/javascript/internal/NameResolution.qll
@@ -128,6 +128,13 @@ module NameResolution {
128
node2 = expr
129
)
130
or
131
+ exists(NonNullAssertion assertion |
132
+ // For the time being we don't use this for nullness analysis, so just
133
+ // propagate through these assertions.
134
+ node1 = assertion.getExpression() and
135
+ node2 = assertion
136
+ )
137
+ or
138
exists(FunctionTypeExpr fun |
139
node1 = fun.getFunction() and
140
node2 = fun
0 commit comments