Refactor typeWithStarProjections() so it uses FirClassSymbol instead of FirClass
It removes necessity to access .fir in plugins
This commit is contained in:
+1
-2
@@ -260,8 +260,7 @@ class SerializationFirResolveExtension(session: FirSession) : FirDeclarationGene
|
||||
})
|
||||
|
||||
superTypeRefs += buildResolvedTypeRef {
|
||||
@OptIn(SymbolInternals::class)
|
||||
type = generatedSerializerClassId.constructClassLikeType(arrayOf(owner.fir.typeWithStarProjections()), isNullable = false)
|
||||
type = generatedSerializerClassId.constructClassLikeType(arrayOf(owner.typeWithStarProjections()), isNullable = false)
|
||||
}
|
||||
}
|
||||
// TODO: add typed constructor
|
||||
|
||||
Reference in New Issue
Block a user