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
|
package org.jetbrains.kotlin.cli.common.messages
|
||||||
|
|
||||||
|
@JvmDefaultWithCompatibility
|
||||||
interface MessageCollector {
|
interface MessageCollector {
|
||||||
fun clear()
|
fun clear()
|
||||||
|
|
||||||
|
|||||||
+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.resolve.scopes.receivers.ReceiverValue
|
||||||
import org.jetbrains.kotlin.types.KotlinType
|
import org.jetbrains.kotlin.types.KotlinType
|
||||||
|
|
||||||
|
@JvmDefaultWithCompatibility
|
||||||
interface AdditionalTypeChecker {
|
interface AdditionalTypeChecker {
|
||||||
fun checkType(
|
fun checkType(
|
||||||
expression: KtExpression,
|
expression: KtExpression,
|
||||||
|
|||||||
Reference in New Issue
Block a user