Skip to content

Commit ee3ffa0

Browse files
committed
add extra clarifications in the comments
1 parent 4e373aa commit ee3ffa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codeql/ql-language-reference/predicates.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Here are a few examples of infinite predicates:
226226
Compilation errors:
227227
ERROR: "i" is not bound to a value.
228228
ERROR: "result" is not bound to a value.
229-
ERROR: expression is not bound to a value.
229+
ERROR: expression "i * 4" is not bound to a value.
230230
*/
231231
int multiplyBy4(int i) {
232232
result = i * 4
@@ -235,7 +235,7 @@ Here are a few examples of infinite predicates:
235235
/*
236236
Compilation errors:
237237
ERROR: "str" is not bound to a value.
238-
ERROR: expression is not bound to a value.
238+
ERROR: expression "str.length()" is not bound to a value.
239239
*/
240240
predicate shortString(string str) {
241241
str.length() < 10

0 commit comments

Comments
 (0)