Skip to content

Conversation

broadwaylamb
Copy link
Contributor

@broadwaylamb broadwaylamb commented Jun 25, 2025

We are going to introduce a new KClass member in the standard library with the same name marked with an opt-in annotation, so in the usages of this extension property would stop compiling because the member is always favored and there is no opt-in.

See KT-78581

@broadwaylamb broadwaylamb requested a review from sandwwraith June 25, 2025 13:00
*
* Should be eventually replaced with compiler intrinsics
*
* TODO: Remove this when KT-78581 lands into a release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a release version in mind?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.2.20 hopefully

@sandwwraith
Copy link
Member

PRs should be based against dev branch

We are going to introduce a new KClass member in
the standard library with the same name marked
with an opt-in annotation, so in the usages of this
extension property would stop compiling because
the member is always favored and there is no opt-in.

See KT-78581
@broadwaylamb broadwaylamb force-pushed the broadwaylamb/js-isinterface branch from 39e278b to 60c6595 Compare June 25, 2025 13:14
@broadwaylamb broadwaylamb changed the base branch from master to dev June 25, 2025 13:15
@broadwaylamb broadwaylamb requested a review from sandwwraith June 25, 2025 13:15
@sandwwraith sandwwraith merged commit fee0ab1 into dev Jun 25, 2025
@broadwaylamb broadwaylamb deleted the broadwaylamb/js-isinterface branch June 25, 2025 13:19
broadwaylamb added a commit that referenced this pull request Jun 25, 2025
We are going to introduce a new KClass member in
the standard library with the same name marked
with an opt-in annotation, so in the usages of this
extension property would stop compiling because
the member is always favored and there is no opt-in.

See KT-78581
broadwaylamb added a commit that referenced this pull request Jul 2, 2025
We are going to introduce a new KClass member in
the standard library with the same name marked
with an opt-in annotation, so in the usages of this
extension property would stop compiling because
the member is always favored and there is no opt-in.

See KT-78581

(cherry picked from commit fee0ab1)
woainikk pushed a commit that referenced this pull request Jul 2, 2025
We are going to introduce a new KClass member in
the standard library with the same name marked
with an opt-in annotation, so in the usages of this
extension property would stop compiling because
the member is always favored and there is no opt-in.

See KT-78581

(cherry picked from commit fee0ab1)
JesusMcCloud pushed a commit to JesusMcCloud/kotlinx.serialization that referenced this pull request Aug 5, 2025
We are going to introduce a new KClass member in
the standard library with the same name marked
with an opt-in annotation, so in the usages of this
extension property would stop compiling because
the member is always favored and there is no opt-in.

See KT-78581
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants