New J2K: Fix SOE in nj2k Java declarations printer
This commit is contained in:
+5
-1
@@ -107,7 +107,11 @@ class JavaContextDeclarationRenderer {
|
||||
if (!type?.arguments.isNullOrEmpty()) {
|
||||
append("<")
|
||||
for (typeArgument in type!!.arguments) {
|
||||
renderType(typeArgument.type)
|
||||
if (typeArgument.isStarProjection) {
|
||||
append("?")
|
||||
} else {
|
||||
renderType(typeArgument.type)
|
||||
}
|
||||
}
|
||||
append(">")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user