mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: tentative fix to Cfg disambuigation
This commit is contained in:
@@ -11,7 +11,7 @@ class MyRelevantNode extends ControlFlowNode {
|
||||
private AstNode asAstNode() { result = this.getAstNode().asAstNode() }
|
||||
|
||||
string getOrderDisambiguation() {
|
||||
result = this.asAstNode().getPrimaryQlClasses()
|
||||
result = concat([this.asAstNode().getAPrimaryQlClass(), this.asAstNode().toString()], ",")
|
||||
or
|
||||
not exists(this.asAstNode()) and result = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user