We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe3a81 commit 761db70Copy full SHA for 761db70
swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll
@@ -56,9 +56,7 @@ private class ApplicationWithLaunchOptionsFunc extends Function {
56
57
private class LaunchOptionsUrlVarDecl extends VarDecl {
58
LaunchOptionsUrlVarDecl() {
59
- // ideally this would be the more accurate, but currently less robust:
60
- // this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
61
- this.getType().(NominalType).getFullName() = "UIApplication.LaunchOptionsKey" and
+ this.getEnclosingDecl().asNominalTypeDecl().getFullName() = "UIApplication.LaunchOptionsKey" and
62
this.getName() = "url"
63
}
64
0 commit comments