JavaScript: Make PathSummary.toString more useful.

This commit is contained in:
Max Schaefer
2018-09-04 09:06:46 +01:00
parent dad13c9b64
commit 3affe922e3

View File

@@ -316,7 +316,8 @@ class PathSummary extends TPathSummary {
exists (string withReturn, string withCall |
(if hasReturn = true then withReturn = "with" else withReturn = "without") and
(if hasCall = true then withCall = "with" else withCall = "without") |
result = "forward path " + withReturn + " return steps and " + withCall + " call steps"
result = "path " + withReturn + " return steps and " + withCall + " call steps " +
"transforming " + start + " into " + end
)
}
}