Skip to content

Commit 7462180

Browse files
Improve handling or array types
1 parent a4659f4 commit 7462180

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/ql/src/utils/Stubs.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ private class IndirectType extends GeneratedType {
143143
this.(NestedType).getEnclosingType() instanceof GeneratedType
144144
or
145145
exists(NestedType nt | nt instanceof GeneratedType and this = nt.getEnclosingType())
146+
or
147+
this = any(GeneratedType a).(Array).getComponentType()
146148
}
147149
}
148150

0 commit comments

Comments
 (0)