Skip to content

Commit f3f8d94

Browse files
author
Oleksandr Karpovich
committed
Compose compiler: Do not add HiddenFromObjC annotation twice
The metadata-visible annotation should be added using only the appropriate API: `addMetadataVisibleAnnotationsToElement` Fixes KT-69876 A followup to investigate the root cause: CMP-5670
1 parent c022606 commit f3f8d94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/compose/compiler-hosted/src/main/java/androidx/compose/compiler/plugins/kotlin/lower/AbstractComposeLowering.kt

-1
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,6 @@ abstract class AbstractComposeLowering(
10441044
returnType = stabilityField.type
10451045
visibility = DescriptorVisibilities.PUBLIC
10461046
origin = IrDeclarationOrigin.GeneratedByPlugin(ComposeCompilerKey)
1047-
annotations = listOf(hiddenFromObjCAnnotation)
10481047
}.also { fn ->
10491048
fn.parent = parent
10501049
fn.body = DeclarationIrBuilder(context, fn.symbol).irBlockBody {

0 commit comments

Comments
 (0)