Analysis API: fix type rendering for ConeDefinitelyNotNullType

This commit is contained in:
Ilya Kirillov
2021-11-02 18:12:44 +01:00
parent da88ddfc71
commit 6462642988
@@ -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}")
}
}