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 5f7e5b9 commit deb97a6Copy full SHA for deb97a6
swift/ql/lib/codeql/swift/elements/type/Type.qll
@@ -15,7 +15,7 @@ class Type extends Generated::Type {
15
// replace anything that looks like a full name `a.b.c` with just the
16
// short name `c`, by removing the `a.` and `b.` parts. Note that this
17
// has to be robust for tuple type names such as `(a, b.c)`.
18
- result = super.getName().regexpReplaceAll("[^(),. ]+\\.(?!\\.)", "")
+ result = super.getName().regexpReplaceAll("[^(),. ]++\\.(?!\\.)", "")
19
}
20
21
/**
0 commit comments