mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Swift: Fix toString on regex literals.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
private import codeql.swift.generated.expr.RegexLiteralExpr
|
||||
|
||||
class RegexLiteralExpr extends Generated::RegexLiteralExpr {
|
||||
override string toString() {
|
||||
result = "..." // TODO: We can improve this once we extract the regex
|
||||
}
|
||||
override string toString() { result = this.getPattern() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user