Suppress DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER in code
This commit is contained in:
+2
@@ -162,6 +162,8 @@ class DelegatedWrapperData<D : FirCallableDeclaration<*>>(
|
||||
val containingClass: ConeClassLikeLookupTag,
|
||||
val delegateField: FirField,
|
||||
)
|
||||
|
||||
@Suppress("DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER")
|
||||
var <D : FirCallableDeclaration<*>>
|
||||
D.delegatedWrapperData: DelegatedWrapperData<D>? by FirDeclarationDataRegistry.data(DelegatedWrapperDataKey)
|
||||
|
||||
|
||||
+1
@@ -63,5 +63,6 @@ class ImportedFromObjectData<D : FirCallableDeclaration<*>>(
|
||||
val original: D,
|
||||
)
|
||||
|
||||
@Suppress("DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER")
|
||||
var <D : FirCallableDeclaration<*>>
|
||||
D.importedFromObjectData: ImportedFromObjectData<D>? by FirDeclarationDataRegistry.data(ImportedFromObjectClassIdKey)
|
||||
|
||||
@@ -79,10 +79,14 @@ inline fun <reified D : FirCallableDeclaration<*>> D.unwrapFakeOverrides(): D {
|
||||
inline fun <reified S : FirCallableSymbol<*>> S.unwrapFakeOverrides(): S = fir.unwrapFakeOverrides().symbol as S
|
||||
|
||||
private object SubstitutedOverrideOriginalKey : FirDeclarationDataKey()
|
||||
|
||||
@Suppress("DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER")
|
||||
var <D : FirCallableDeclaration<*>>
|
||||
D.originalForSubstitutionOverrideAttr: D? by FirDeclarationDataRegistry.data(SubstitutedOverrideOriginalKey)
|
||||
|
||||
private object IntersectionOverrideOriginalKey : FirDeclarationDataKey()
|
||||
|
||||
@Suppress("DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER")
|
||||
var <D : FirCallableDeclaration<*>>
|
||||
D.originalForIntersectionOverrideAttr: D? by FirDeclarationDataRegistry.data(IntersectionOverrideOriginalKey)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user