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) {
143
143
exists ( string name | c = TFieldContent ( name ) and result = "Field[" + name + "]" )
144
144
or
145
145
exists ( ConstantValue cv |
146
- c = TKnownElementContent ( cv ) and result = "Element[" + cv .toString ( ) + "!]"
146
+ c = TKnownElementContent ( cv ) and result = "Element[" + cv .serialize ( ) + "!]"
147
147
)
148
148
or
149
149
c = TUnknownElementContent ( ) and result = "Element[?]"
@@ -155,7 +155,8 @@ private string getContentSetSpecific(ContentSet cs) {
155
155
cs = TAnyElementContent ( ) and result = "Element[any]"
156
156
or
157
157
exists ( Content:: KnownElementContent kec |
158
- cs = TKnownOrUnknownElementContent ( kec ) and result = "Element[" + kec .getIndex ( ) + "]"
158
+ cs = TKnownOrUnknownElementContent ( kec ) and
159
+ result = "Element[" + kec .getIndex ( ) .serialize ( ) + "]"
159
160
)
160
161
or
161
162
exists ( int lower , boolean includeUnknown , string unknown |
You can’t perform that action at this time.
0 commit comments