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 3b6a17f commit 78aeb17Copy full SHA for 78aeb17
jacodb-api-jvm/src/main/kotlin/org/jacodb/api/jvm/cfg/JcRawInst.kt
@@ -618,9 +618,9 @@ data class JcRawNewArrayExpr(
618
companion object {
619
private val regexToProcessDimensions = Regex("\\[(.*?)]")
620
621
- private fun arrayTypeToStringWithDimensions(typeName: TypeName, dimensions: List<JcRawValue>) {
+ private fun arrayTypeToStringWithDimensions(typeName: TypeName, dimensions: List<JcRawValue>): String {
622
var curDim = 0
623
- regexToProcessDimensions.replace("$typeName") {
+ return regexToProcessDimensions.replace("$typeName") {
624
"[${dimensions.getOrNull(curDim++) ?: ""}]"
625
}
626
0 commit comments