Skip to content

Commit f400340

Browse files
aibaarshvitved
andauthored
Apply suggestions from code review
Co-authored-by: Tom Hvitved <[email protected]>
1 parent bf3d291 commit f400340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class DataFlowCall extends TDataFlowCall {
9494
predicate hasLocationInfo(
9595
string filepath, int startline, int startcolumn, int endline, int endcolumn
9696
) {
97-
getLocation().hasLocationInfo(filepath, startline, startcolumn, endline, endcolumn)
97+
this.getLocation().hasLocationInfo(filepath, startline, startcolumn, endline, endcolumn)
9898
}
9999
}
100100

ql/lib/codeql/ruby/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ private import codeql.ruby.dataflow.FlowSummary as FlowSummary
1515
predicate parameterPosition(int i) { i in [-2 .. 10] }
1616

1717
/** Gets the parameter position of the instance parameter. */
18-
int instanceParameterPosition() { none() } // disables implicit summary flow to `this` for callbacks
18+
int instanceParameterPosition() { none() } // disables implicit summary flow to `self` for callbacks
1919

2020
/** Gets the synthesized summary data-flow node for the given values. */
2121
Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = TSummaryNode(c, state) }

0 commit comments

Comments
 (0)