[FIR] Introduce ConeFunctionalTypeKind as a replacement of FunctionClassKind
This is needed to provide an ability to extend different kinds of functional types Also, cleanup and rename utilities related to functional types to avoid possible confusions
This commit is contained in:
committed by
Space Team
parent
c98c8d3682
commit
c86495dcae
+4
-1
@@ -337,7 +337,10 @@ class FirVisualizer(private val firFile: FirFile) : BaseRenderer() {
|
||||
return
|
||||
}
|
||||
val projectionBuilder = StringBuilder()
|
||||
ConeTypeRendererForDebugging(projectionBuilder).renderAsPossibleFunctionType(this) {
|
||||
ConeTypeRendererForDebugging(projectionBuilder).renderAsPossibleFunctionType(
|
||||
this,
|
||||
{ it.functionalTypeKind(session) }
|
||||
) {
|
||||
localTypeProjectionRenderer(projectionBuilder)
|
||||
}
|
||||
builder.append(projectionBuilder.toString().removeCurrentFilePackage())
|
||||
|
||||
Reference in New Issue
Block a user