mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Python points-to: Fix ordering of string constants.
This commit is contained in:
@@ -1318,9 +1318,9 @@ module Expressions {
|
||||
or
|
||||
val.strValue() < other.strValue() and result = -1
|
||||
or
|
||||
val.strValue() > other.strValue() and result = 0
|
||||
val.strValue() > other.strValue() and result = 1
|
||||
or
|
||||
val.strValue() = other.strValue() and result = 1
|
||||
val.strValue() = other.strValue() and result = 0
|
||||
}
|
||||
|
||||
pragma [nomagic]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
| 2 | bool False |
|
||||
| 2 | bool True |
|
||||
| 3 | bool False |
|
||||
| 6 | bool True |
|
||||
|
||||
Reference in New Issue
Block a user