Skip to content

Commit 7beca37

Browse files
committed
implementing Mikhail's comments
1 parent 9cbd8d3 commit 7beca37

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

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

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,6 @@ perspective
4141
> - 2.2.0: raise the warning to an error
4242
-->
4343

44-
### Change data class copy() function visibility to match private constructor
45-
46-
> **Issue**: [KT-11914](https://youtrack.jetbrains.com/issue/KT-11914)
47-
>
48-
> **Component**: Core language
49-
>
50-
> **Incompatible change type**: source
51-
>
52-
> **Deprecation cycle**:
53-
>
54-
> - 2.0.20: report a warning for visibility mismatches; apply `@ConsistentCopyVisibility` or use the `-Xconsistent-data-class-copy-visibility` flag to adopt the new behavior early, or use the `@ExposedCopyVisibility` annotation to retain the old behavior
55-
> - 2.2.0: raise the warning to an error for incompatible `copy()` usages
56-
> - 2.3.0: the `copy()` function defaults to the visibility of the primary constructor
57-
5844
### Deprecate appendln in favor of appendLine
5945

6046
> **Issue**: [KTLC-27](https://youtrack.jetbrains.com/issue/KTLC-27)
@@ -162,7 +148,7 @@ perspective
162148
>
163149
> **Deprecation cycle**:
164150
>
165-
> - 2.1.0: change the behavior in K2; K1 remains unaffected
151+
> - 2.1.0: enable the new behavior
166152
167153
### Correct the handling of member-extension property overrides in Java subclasses
168154

@@ -177,7 +163,7 @@ perspective
177163
>
178164
> **Deprecation cycle**:
179165
>
180-
> - 2.1.0: enable the new behavior in K2; K1 remains unaffected
166+
> - 2.1.0: enable the new behavior
181167
182168
### Correct visibility alignment for getters and setters of var properties overriding a protected val
183169

@@ -274,7 +260,7 @@ perspective
274260
>
275261
> **Deprecation cycle**:
276262
>
277-
> - 2.1.0: activate the new behavior in K2
263+
> - 2.1.0: activate the new behavior
278264
279265
### Report nullability errors for error-level nullable arguments of warning-level Java types
280266

0 commit comments

Comments
 (0)