FIR IDE: add option to render type without type args
This is useful for rendering type annotation for `super`, which does not require type arguments.
This commit is contained in:
committed by
Ilya Kirillov
parent
bdc71a3281
commit
603655d63f
+5
@@ -31,6 +31,11 @@ public data class KtTypeRendererOptions(
|
||||
* When `false` will render as "ERROR_TYPE <symbol not found for UnresolvedQualifier>"
|
||||
*/
|
||||
public val renderUnresolvedTypeAsResolved: Boolean = true,
|
||||
|
||||
/**
|
||||
* Whether to render type arguments.
|
||||
*/
|
||||
public val renderTypeArguments: Boolean = true
|
||||
) {
|
||||
public companion object {
|
||||
public val DEFAULT: KtTypeRendererOptions = KtTypeRendererOptions()
|
||||
|
||||
Reference in New Issue
Block a user