Analysis API: fix type rendering for ConeDefinitelyNotNullType
This commit is contained in:
+5
@@ -90,6 +90,11 @@ internal class ConeTypeIdeRenderer(
|
||||
append(type.render())
|
||||
renderNullability(type.type)
|
||||
}
|
||||
is ConeDefinitelyNotNullType -> {
|
||||
renderAnnotationList(annotations)
|
||||
append(renderType(type.original))
|
||||
append("!!")
|
||||
}
|
||||
else -> appendError("Unexpected cone type ${type::class.qualifiedName}")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user