diff --git a/java/ql/lib/semmle/code/java/Expr.qll b/java/ql/lib/semmle/code/java/Expr.qll index d8824d88cd4..dd85b458630 100755 --- a/java/ql/lib/semmle/code/java/Expr.qll +++ b/java/ql/lib/semmle/code/java/Expr.qll @@ -173,7 +173,7 @@ class CompileTimeConstantExpr extends Expr { */ pragma[nomagic] string getStringifiedValue() { - result = getStringValue() + result = this.getStringValue() or result = this.(Literal).getValue() or