From 07b566dd02c98cf9d6566bbaccf3a576cf43c16b Mon Sep 17 00:00:00 2001 From: Ilya Muradyan Date: Tue, 14 Jul 2020 13:51:49 +0300 Subject: [PATCH] Add @JvmDefault for getPossibleSyntheticNestedClassNames --- .../kotlin/resolve/extensions/SyntheticResolveExtension.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/extensions/SyntheticResolveExtension.kt b/compiler/frontend/src/org/jetbrains/kotlin/resolve/extensions/SyntheticResolveExtension.kt index 921ea5cee20..30c7a96f4d8 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/extensions/SyntheticResolveExtension.kt +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/extensions/SyntheticResolveExtension.kt @@ -149,6 +149,7 @@ interface SyntheticResolveExtension { * or null in case it needs to run resolution and inference and/or it is very costly. * Override this method if resolution started to fail with recursion. */ + @JvmDefault fun getPossibleSyntheticNestedClassNames(thisDescriptor: ClassDescriptor): List? = getSyntheticNestedClassNames(thisDescriptor) fun addSyntheticSupertypes(thisDescriptor: ClassDescriptor, supertypes: MutableList) {}