Skip to content

Commit efea11f

Browse files
committed
Swift: getFullName.
1 parent ddb4990 commit efea11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private class LaunchOptionsUrlVarDecl extends VarDecl {
5858
LaunchOptionsUrlVarDecl() {
5959
// ideally this would be the more accurate, but currently less robust:
6060
// this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
61-
this.getType().getName() = "UIApplication.LaunchOptionsKey" and
61+
this.getType().(NominalType).getFullName() = "UIApplication.LaunchOptionsKey" and
6262
this.getName() = "url"
6363
}
6464
}

0 commit comments

Comments
 (0)