Skip to content

Commit cd699fe

Browse files
committed
implementing TWr review comments
1 parent e7b78de commit cd699fe

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/topics/compatibility-guides/compatibility-guide-21.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ perspective
7373
> - 2.1.0: report a warning for exposing types via type parameter bounds with lower visibility
7474
> - 2.2.0: raise the warning to an error
7575
76-
### Prohibit inheriting an abstract var property alongside a val property with the same name
76+
### Prohibit inheriting an abstract var property and a val property with the same name
7777

7878
> **Issue**: [KT-58659](https://youtrack.jetbrains.com/issue/KT-58659)
7979
>
@@ -98,7 +98,7 @@ perspective
9898
> **Incompatible change type**: source
9999
>
100100
> **Short summary**: The compiler now reports an error when uninitialized enum entries are accessed during enum class or entry initialization.
101-
> This aligns behavior with member property initialization rules, preventing runtime exceptions and ensuring consistent logic.
101+
> This aligns the behavior with member property initialization rules, preventing runtime exceptions and ensuring consistent logic.
102102
>
103103
> **Deprecation cycle**:
104104
>
@@ -112,7 +112,7 @@ perspective
112112
>
113113
> **Incompatible change type**: behavioral
114114
>
115-
> **Short summary**: K2 changes the behavior of smart cast propagation, introducing bidirectional propagation of type
115+
> **Short summary**: K2 changes the behavior of smart cast propagation by introducing bidirectional propagation of type
116116
> information for inferred variables, like `val x = y`. Explicitly typed variables, such as `val x: T = y`,
117117
> no longer propagate type information, ensuring stricter adherence to declared types.
118118
>
@@ -129,7 +129,7 @@ perspective
129129
> **Incompatible change type**: behavioral
130130
>
131131
> **Short summary**: The getter for member-extension properties overridden by Java subclasses is now hidden in the subclass's scope,
132-
> aligning its behavior with regular Kotlin properties.
132+
> aligning its behavior with that of regular Kotlin properties.
133133
>
134134
> **Deprecation cycle**:
135135
>
@@ -155,15 +155,15 @@ perspective
155155
>
156156
> **Incompatible change type**: source
157157
>
158-
> **Short summary**: Nullability mismatches from `org.jspecify.annotations`, such as `@NonNull`, `@Nullable`, and `@NullMarked` are treated as errors instead of warnings,
158+
> **Short summary**: Nullability mismatches from `org.jspecify.annotations`, such as `@NonNull`, `@Nullable`, and `@NullMarked` are now treated as errors instead of warnings,
159159
> enforcing stricter type safety for Java interoperability. To adjust the severity of these diagnostics, use the `-Xnullability-annotations` compiler option.
160160
>
161161
> **Deprecation cycle**:
162162
>
163-
> - 1.6.0: report a warning for potential nullability mismatches
163+
> - 1.6.0: report warnings for potential nullability mismatches
164164
> - 1.8.20: expand warnings to specific JSpecify annotations, including: `@Nullable`, `@NullnessUnspecified`, `@NullMarked`, and legacy annotations in `org.jspecify.nullness` (JSpecify 0.2 and earlier)
165165
> - 2.0.0: add support for the `@NonNull` annotation
166-
> - 2.1.0: change default mode to strict for JSpecify annotations, converting warnings into errors; use `[email protected]:warning` or `[email protected]:ignore` to override the default behavior
166+
> - 2.1.0: change default mode to `strict` for JSpecify annotations, converting warnings into errors; use `[email protected]:warning` or `[email protected]:ignore` to override the default behavior
167167
168168
### Change overload resolution to prioritize extension functions over invoke calls in ambiguous cases
169169

@@ -210,7 +210,7 @@ perspective
210210
>
211211
> **Incompatible change type**: source
212212
>
213-
> **Short summary**: Private operator functions such as `getValue()`, `setValue()`, `provideDelegate()`, `hasNext()`, and `next()` can no longer be accessed in public inline functions
213+
> **Short summary**: Private operator functions such as `getValue()`, `setValue()`, `provideDelegate()`, `hasNext()`, and `next()` can no longer be accessed in public inline functions.
214214
>
215215
> **Deprecation cycle**:
216216
>
@@ -320,7 +320,7 @@ perspective
320320
321321
### Deprecate freezing-related APIs in Kotlin/Native
322322

323-
> **Issue**: [KT-69545](https://youtrack.jetbrains.com/issue/KT-NNNNN)
323+
> **Issue**: [KT-69545](https://youtrack.jetbrains.com/issue/KT-69545)
324324
>
325325
> **Component**: kotlin-stdlib
326326
>
@@ -408,7 +408,7 @@ perspective
408408
>
409409
> **Short summary**: `KotlinTopLevelExtension` and `KotlinTopLevelExtensionConfig` interfaces are deprecated in favor of a new `KotlinTopLevelExtension` interface.
410410
> This interface merges `KotlinTopLevelExtensionConfig`, `KotlinTopLevelExtension`, and `KotlinProjectExtension`
411-
> to provide a clearer API hierarchy, and official access to JVM toolchain and compiler properties.
411+
> to streamline API hierarchy, and provide official access to the JVM toolchain and compiler properties.
412412
>
413413
> **Deprecation cycle**:
414414
>
@@ -423,7 +423,7 @@ perspective
423423
> **Incompatible change type**: source
424424
>
425425
> **Short summary**: The `kotlin-compiler-embeddable` dependency is removed from the runtime in Kotlin Gradle Plugin (KGP).
426-
> Required modules are now included directly in KGP artifacts, with a Kotlin language version limit of 2.0 to support compatibility with Gradle Kotlin runtime in versions below 8.2.
426+
> Required modules are now included directly in KGP artifacts, with the Kotlin language version limited to 2.0 to support compatibility with Gradle Kotlin runtime in versions below 8.2.
427427
>
428428
> **Deprecation cycle**:
429429
>
@@ -446,7 +446,7 @@ perspective
446446
> - 2.1.0: report a warning on accessing these symbols
447447
> - 2.2.0: raise the warning to an error
448448
449-
### Support for multiple stability configuration files
449+
### Add support for multiple stability configuration files
450450

451451
> **Issue**: [KT-68345](https://youtrack.jetbrains.com/issue/KT-68345)
452452
>

0 commit comments

Comments
 (0)