K2: use MutableOrEmptyList for type arguments

This commit is contained in:
Mikhail Glukhikh
2022-12-15 11:48:37 +01:00
committed by Space Team
parent a48610000d
commit d20d63786b
27 changed files with 40 additions and 53 deletions
@@ -31,7 +31,7 @@ object FieldSets {
)
}
val typeArguments by lazy { fieldList("typeArguments", typeProjection, withReplace = true) }
val typeArguments by lazy { fieldList("typeArguments", typeProjection, useMutableOrEmpty = true, withReplace = true) }
val arguments by lazy { fieldList("arguments", expression) }