File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ private string getContentSpecific(Content c) {
143143 exists ( string name | c = TFieldContent ( name ) and result = "Field[" + name + "]" )
144144 or
145145 exists ( ConstantValue cv |
146- c = TKnownElementContent ( cv ) and result = "Element[" + cv .toString ( ) + "!]"
146+ c = TKnownElementContent ( cv ) and result = "Element[" + cv .serialize ( ) + "!]"
147147 )
148148 or
149149 c = TUnknownElementContent ( ) and result = "Element[?]"
@@ -155,7 +155,8 @@ private string getContentSetSpecific(ContentSet cs) {
155155 cs = TAnyElementContent ( ) and result = "Element[any]"
156156 or
157157 exists ( Content:: KnownElementContent kec |
158- cs = TKnownOrUnknownElementContent ( kec ) and result = "Element[" + kec .getIndex ( ) + "]"
158+ cs = TKnownOrUnknownElementContent ( kec ) and
159+ result = "Element[" + kec .getIndex ( ) .serialize ( ) + "]"
159160 )
160161 or
161162 exists ( int lower , boolean includeUnknown , string unknown |
You can’t perform that action at this time.
0 commit comments