mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Fix type-parameter-out-of-scope test
This commit is contained in:
@@ -12,6 +12,8 @@ Type getAMentionedType(RefType type) {
|
||||
result = getAMentionedType(type).(InstantiatedType).getATypeArgument()
|
||||
or
|
||||
result = getAMentionedType(type).(NestedType).getEnclosingType()
|
||||
or
|
||||
result = getAMentionedType(type).(Wildcard).getATypeBound().getType()
|
||||
}
|
||||
|
||||
Type getATypeUsedInClass(RefType type) {
|
||||
|
||||
Reference in New Issue
Block a user