Fix type-parameter-out-of-scope test

This commit is contained in:
Chris Smowton
2022-07-14 15:19:05 +01:00
parent e7f275382e
commit 7475f84ea5

View File

@@ -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) {