Rewrite FirDeclarationDataRegistry.data to avoid type parameter problems
This commit is contained in:
-2
@@ -162,8 +162,6 @@ 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,6 +63,5 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user