From 5ef923a2e582bfc423e601ccd1869e704ad15dcc Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:02:45 +1000 Subject: [PATCH] Add SymbolInternals opt-in --- .../drewhamilton/poko/fir/PokoFirExtensionSessionComponent.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/fir/PokoFirExtensionSessionComponent.kt b/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/fir/PokoFirExtensionSessionComponent.kt index 3f95358c..4c4d5efc 100644 --- a/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/fir/PokoFirExtensionSessionComponent.kt +++ b/poko-compiler-plugin/src/main/kotlin/dev/drewhamilton/poko/fir/PokoFirExtensionSessionComponent.kt @@ -20,6 +20,7 @@ internal class PokoFirExtensionSessionComponent( } } + @OptIn(org.jetbrains.kotlin.fir.symbols.SymbolInternals::class) private fun FirAnnotation.classId(): ClassId? = annotationTypeRef.coneTypeSafe()?.classId