Skip to content

Commit

Permalink
Remove default compatibility from unstable types
Browse files Browse the repository at this point in the history
It was used to give one minor version to migrate to in the chance compiled libraries were using the otherwise-unstable API.
  • Loading branch information
JakeWharton committed Aug 15, 2023
1 parent b116a1d commit 91a9ee2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions interop/kotlinx-metadata/api/kotlinx-metadata.api
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ public abstract interface class com/squareup/kotlinpoet/metadata/specs/JvmModifi
public fun annotationSpec ()Lcom/squareup/kotlinpoet/AnnotationSpec;
}

public final class com/squareup/kotlinpoet/metadata/specs/JvmModifier$DefaultImpls {
public static fun annotationSpec (Lcom/squareup/kotlinpoet/metadata/specs/JvmModifier;)Lcom/squareup/kotlinpoet/AnnotationSpec;
}

public final class com/squareup/kotlinpoet/metadata/specs/KmTypesKt {
public static final fun isExtensionType (Lkotlinx/metadata/KmType;)Z
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import com.squareup.kotlinpoet.metadata.KotlinPoetMetadataPreview
* This API is considered read-only and should not be implemented outside of KotlinPoet.
*/
@KotlinPoetMetadataPreview
@JvmDefaultWithCompatibility
public interface JvmModifier {
public fun annotationSpec(): AnnotationSpec? {
return null
Expand Down
4 changes: 0 additions & 4 deletions kotlinpoet/api/kotlinpoet.api
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ public abstract interface class com/squareup/kotlinpoet/ContextReceivable {
}

public abstract interface class com/squareup/kotlinpoet/ContextReceivable$Builder {
public abstract fun getContextReceiverTypes ()Ljava/util/List;
}

public final class com/squareup/kotlinpoet/ContextReceivable$Builder$DefaultImpls {
}

public abstract interface annotation class com/squareup/kotlinpoet/DelicateKotlinPoetApi : java/lang/annotation/Annotation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public interface ContextReceivable {
public val contextReceiverTypes: List<TypeName>

/** The builder analogue to [ContextReceivable] types. */
@JvmDefaultWithCompatibility
public interface Builder<out T : Builder<T>> {

/** Mutable map of the current originating elements this builder contains. */
Expand Down

0 comments on commit 91a9ee2

Please sign in to comment.