mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Resolve a newly-introduced ambiguity
Also fix a simple redundancy noticed while debugging
This commit is contained in:
@@ -515,7 +515,7 @@ private RefType getAReferencedType(RefType t) {
|
||||
|
||||
/** A top level type whose file should be stubbed */
|
||||
class GeneratedTopLevel extends TopLevelType instanceof GeneratedType {
|
||||
GeneratedTopLevel() { this = this.getSourceDeclaration() }
|
||||
GeneratedTopLevel() { this = this.(ClassOrInterface).getSourceDeclaration() }
|
||||
|
||||
private TopLevelType getAnImportedType() {
|
||||
result = getAReferencedType(this).getSourceDeclaration() and
|
||||
|
||||
Reference in New Issue
Block a user