mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
607 B
607 B
category
| category |
|---|
| minorAnalysis |
getConstantValue()now returns the contents of strings and symbols after escape sequences have been interpreted. For example, for the Ruby string literal"\n",getConstantValue().getString()previously returned a QL string with two characters, a backslash followed byn; now it returns the single-character string "\n" (U+000A, known as newline).getConstantValue().getInt()previously returned incorrect values for integers larger than 231-1 (the largest value that can be represented by the QLinttype). It now returns no result in those cases.