[FIR] Make FirTypeParameter.containingDeclarationSymbol not null
Also fix initializing this property in all places
This commit is contained in:
committed by
teamcity
parent
35a2a6bcec
commit
18fc2802e5
+1
-1
@@ -73,7 +73,7 @@ class FirTypeDeserializer(
|
||||
origin = FirDeclarationOrigin.Library
|
||||
this.name = name
|
||||
this.symbol = symbol
|
||||
this.containingDeclarationSymbol = containingSymbol
|
||||
this.containingDeclarationSymbol = containingSymbol ?: error("Top-level type parameter ???")
|
||||
variance = proto.variance.convertVariance()
|
||||
isReified = proto.reified
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user