mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
Merge pull request #14584 from Marcono1234/kotlin-Literal-getLiteral
Kotlin: Mention `Literal::getLiteral()` difference from source code
This commit is contained in:
@@ -530,6 +530,9 @@ class Literal extends Expr, @literal {
|
||||
* Gets a string representation of this literal as it appeared
|
||||
* in the source code.
|
||||
*
|
||||
* For Kotlin the result might not match the exact representation
|
||||
* used in the source code.
|
||||
*
|
||||
* **Important:** Unless a query explicitly wants to check how
|
||||
* a literal was written in the source code, the predicate
|
||||
* `getValue()` (or value predicates of subclasses) should be
|
||||
|
||||
Reference in New Issue
Block a user