Add JvmDefaultWithCompatibility to some interfaces
This has no effect on behavior, but will fix a binary compatibility problem with Compose. #KT-54459 Fixed Co-authored-by: Alexander Likhachev <Alexander.Likhachev@jetbrains.com>
This commit is contained in:
+1
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.jetbrains.kotlin.cli.common.messages
|
||||
|
||||
@JvmDefaultWithCompatibility
|
||||
interface MessageCollector {
|
||||
fun clear()
|
||||
|
||||
|
||||
+2
-1
@@ -23,6 +23,7 @@ import org.jetbrains.kotlin.resolve.calls.context.ResolutionContext
|
||||
import org.jetbrains.kotlin.resolve.scopes.receivers.ReceiverValue
|
||||
import org.jetbrains.kotlin.types.KotlinType
|
||||
|
||||
@JvmDefaultWithCompatibility
|
||||
interface AdditionalTypeChecker {
|
||||
fun checkType(
|
||||
expression: KtExpression,
|
||||
@@ -39,4 +40,4 @@ interface AdditionalTypeChecker {
|
||||
) {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user