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) {
710710 FlowSummaryImpl:: Private:: Steps:: summaryClearsContent ( n , c )
711711}
712712
713- private newtype TDataFlowType = TTodoDataFlowType ( )
713+ private newtype TDataFlowType =
714+ TTodoDataFlowType ( ) or
715+ TTodoDataFlowType2 ( )
714716
715717class DataFlowType extends TDataFlowType {
716718 string toString ( ) { result = "" }
717719}
718720
719721/** 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 ) }
721723
722724/** Gets a string representation of a `DataFlowType`. */
723725string ppReprType ( DataFlowType t ) { result = t .toString ( ) }
You can’t perform that action at this time.
0 commit comments