[FIR] Support FirVarargArgumentsExpression in html dump
This commit is contained in:
@@ -1476,11 +1476,16 @@ class HtmlFirDump internal constructor(private var linkResolver: FirLinkResolver
|
||||
is FirOperatorCall -> generate(expression)
|
||||
is FirBinaryLogicExpression -> generate(expression)
|
||||
is FirCheckNotNullCall -> generate(expression)
|
||||
is FirVarargArgumentsExpression -> generate(expression)
|
||||
else -> inlineUnsupported(expression)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun FlowContent.generate(varargArgumentExpression: FirVarargArgumentsExpression) {
|
||||
generateList(varargArgumentExpression.arguments, separator = ",") { generate(it) }
|
||||
}
|
||||
|
||||
private fun FlowContent.generate(binaryLogicExpression: FirBinaryLogicExpression) {
|
||||
generate(binaryLogicExpression.leftOperand)
|
||||
+" ${binaryLogicExpression.kind.token} "
|
||||
|
||||
Reference in New Issue
Block a user