mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Always use source declarations (i.e, raw types) when naming types in tests
This commit is contained in:
@@ -293,7 +293,7 @@ string getShortNameIfPossible(Type t) {
|
||||
if t instanceof RefType
|
||||
then
|
||||
exists(RefType replaced, string nestedName |
|
||||
replaced = replaceTypeVariable(t) and
|
||||
replaced = replaceTypeVariable(t).getSourceDeclaration() and
|
||||
nestedName = replaced.nestedName().replaceAll("$", ".")
|
||||
|
|
||||
if isImportable(getRootSourceDeclaration(t))
|
||||
|
||||
Reference in New Issue
Block a user