[FIR] Properly collect constructors from class in presence of plugins

This commit is contained in:
Dmitriy Novozhilov
2021-10-11 17:38:11 +03:00
committed by TeamCityServer
parent 6712191538
commit af6d6ec2b9
17 changed files with 124 additions and 73 deletions
@@ -186,7 +186,7 @@ class FirElementSerializer private constructor(
builder.typeTable = typeTableProto
}
val representation = (klass as? FirRegularClass)?.getInlineClassUnderlyingParameter()
val representation = (klass as? FirRegularClass)?.getInlineClassUnderlyingParameter(session)
if (representation != null) {
builder.inlineClassUnderlyingPropertyName = getSimpleNameIndex(representation.name)