Skip to content

Commit 4db7aa6

Browse files
committed
JS: Relax type inference to account for overriding
1 parent 27e8ea8 commit 4db7aa6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ abstract class Configuration extends string {
172172
isBarrierGuard(guard) and
173173
guard.blocks(node)
174174
)
175+
or
176+
none() // relax type inference to account for overriding
175177
}
176178

177179
/**

0 commit comments

Comments
 (0)