We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59abcd6 + ee3ffa0 commit 4bc287eCopy full SHA for 4bc287e
docs/codeql/ql-language-reference/predicates.rst
@@ -226,14 +226,16 @@ Here are a few examples of infinite predicates:
226
Compilation errors:
227
ERROR: "i" is not bound to a value.
228
ERROR: "result" is not bound to a value.
229
+ ERROR: expression "i * 4" is not bound to a value.
230
*/
231
int multiplyBy4(int i) {
232
result = i * 4
233
}
234
235
/*
- Compilation error:
236
+ Compilation errors:
237
ERROR: "str" is not bound to a value.
238
+ ERROR: expression "str.length()" is not bound to a value.
239
240
predicate shortString(string str) {
241
str.length() < 10
0 commit comments