File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -820,15 +820,13 @@ string ppReprType(DataFlowType t) { result = t.toString() }
820820pragma [ inline]
821821predicate compatibleTypes ( DataFlowType t1 , DataFlowType t2 ) { any ( ) }
822822
823- module PostUpdateNode {
824- abstract class Range extends Node {
825- /** Gets the node before the state update. */
826- abstract Node getPreUpdateNode ( ) ;
827- }
823+ abstract class PostUpdateNodeImpl extends Node {
824+ /** Gets the node before the state update. */
825+ abstract Node getPreUpdateNode ( ) ;
828826}
829827
830828private module PostUpdateNodes {
831- class ExprPostUpdateNode extends PostUpdateNode :: Range , NodeImpl , TExprPostUpdateNode {
829+ class ExprPostUpdateNode extends PostUpdateNodeImpl , NodeImpl , TExprPostUpdateNode {
832830 private CfgNodes:: ExprCfgNode e ;
833831
834832 ExprPostUpdateNode ( ) { this = TExprPostUpdateNode ( e ) }
@@ -842,7 +840,7 @@ private module PostUpdateNodes {
842840 override string toStringImpl ( ) { result = "[post] " + e .toString ( ) }
843841 }
844842
845- private class SummaryPostUpdateNode extends SummaryNode , PostUpdateNode :: Range {
843+ private class SummaryPostUpdateNode extends SummaryNode , PostUpdateNodeImpl {
846844 private Node pre ;
847845
848846 SummaryPostUpdateNode ( ) { FlowSummaryImpl:: Private:: summaryPostUpdateNode ( this , pre ) }
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class LocalSourceNode extends Node {
132132 * Nodes corresponding to AST elements, for example `ExprNode`, usually refer
133133 * to the value before the update.
134134 */
135- class PostUpdateNode extends Node instanceof PostUpdateNode :: Range {
135+ class PostUpdateNode extends Node instanceof PostUpdateNodeImpl {
136136 /** Gets the node before the state update. */
137137 Node getPreUpdateNode ( ) { result = super .getPreUpdateNode ( ) }
138138}
You can’t perform that action at this time.
0 commit comments