Improve handling or array types

This commit is contained in:
Joe Farebrother
2021-08-10 16:52:38 +01:00
parent a4659f4e96
commit 7462180dcd

View File

@@ -143,6 +143,8 @@ private class IndirectType extends GeneratedType {
this.(NestedType).getEnclosingType() instanceof GeneratedType
or
exists(NestedType nt | nt instanceof GeneratedType and this = nt.getEnclosingType())
or
this = any(GeneratedType a).(Array).getComponentType()
}
}