File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -710,14 +710,16 @@ predicate clearsContent(Node n, Content c) {
710
710
FlowSummaryImpl:: Private:: Steps:: summaryClearsContent ( n , c )
711
711
}
712
712
713
- private newtype TDataFlowType = TTodoDataFlowType ( )
713
+ private newtype TDataFlowType =
714
+ TTodoDataFlowType ( ) or
715
+ TTodoDataFlowType2 ( )
714
716
715
717
class DataFlowType extends TDataFlowType {
716
718
string toString ( ) { result = "" }
717
719
}
718
720
719
721
/** Gets the type of `n` used for type pruning. */
720
- DataFlowType getNodeType ( NodeImpl n ) { any ( ) }
722
+ DataFlowType getNodeType ( NodeImpl n ) { result = TTodoDataFlowType ( ) and exists ( n ) }
721
723
722
724
/** Gets a string representation of a `DataFlowType`. */
723
725
string ppReprType ( DataFlowType t ) { result = t .toString ( ) }
You can’t perform that action at this time.
0 commit comments