Skip to content

Commit 3973e1c

Browse files
atorralbageoffw0
andauthored
Update swift/ql/test/library-tests/dataflow/dataflow/FlowConfig.qll
Co-authored-by: Geoffrey White <[email protected]>
1 parent 80f7d58 commit 3973e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ql/test/library-tests/dataflow/dataflow/FlowConfig.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TestConfiguration extends DataFlow::Configuration {
2525

2626
private class TestSummaries extends SummaryModelCsv {
2727
override predicate row(string row) {
28-
// dumb model to allow testing flow through optional chaining (`x?.signum()`)
28+
// model to allow data flow through `signum()` as though it were an identity function, for the benefit of testing flow through optional chaining (`x?.`).
2929
row = ";Int;true;signum();;;Argument[-1];ReturnValue;value"
3030
}
3131
}

0 commit comments

Comments
 (0)