We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c6a543 commit 207c306Copy full SHA for 207c306
jacodb-api/src/main/kotlin/org/jacodb/api/cfg/JcInst.kt
@@ -615,9 +615,9 @@ data class JcNewArrayExpr(
615
companion object {
616
private val regexToProcessDimensions = Regex("\\[(.*?)]")
617
618
- private fun arrayTypeToStringWithDimensions(typeName: String, dimensions: List<JcValue>) {
+ private fun arrayTypeToStringWithDimensions(typeName: String, dimensions: List<JcValue>): String {
619
var curDim = 0
620
- regexToProcessDimensions.replace(typeName) {
+ return regexToProcessDimensions.replace(typeName) {
621
"[${dimensions.getOrNull(curDim++) ?: ""}]"
622
}
623
0 commit comments