We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a532da commit 0a143a5Copy full SHA for 0a143a5
1 file changed
javascript/ql/lib/semmle/javascript/dataflow/internal/DataFlowPrivate.qll
@@ -301,7 +301,7 @@ newtype TDataFlowType =
301
TAnyType()
302
303
class DataFlowType extends TDataFlowType {
304
- string toString() {
+ string toDebugString() {
305
this instanceof TFunctionType and
306
result =
307
"TFunctionType(" + this.asFunction().toString() + ") at line " +
@@ -310,6 +310,10 @@ class DataFlowType extends TDataFlowType {
310
this instanceof TAnyType and result = "TAnyType"
311
}
312
313
+ string toString() {
314
+ result = "" // Must be the empty string to prevent this from showing up in path explanations
315
+ }
316
+
317
Function asFunction() { this = TFunctionType(result) }
318
319
0 commit comments