mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Python: Avoid multiple results for toString
This commit is contained in:
@@ -121,12 +121,6 @@ deprecated string mode_from_mode_object(Value obj) {
|
||||
abstract class RegexString extends Expr {
|
||||
RegexString() { (this instanceof Bytes or this instanceof Unicode) }
|
||||
|
||||
override string toString() {
|
||||
result = this.(Bytes).getText()
|
||||
or
|
||||
result = this.(Unicode).getText()
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper predicate for `char_set_start(int start, int end)`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user