Skip to content

Conversation

@merfemor
Copy link
Contributor

@merfemor merfemor commented Jul 18, 2023

In https://youtrack.jetbrains.com/issue/KT-58551 we require all annotations from expect declaration to be present on actual.
unwrap violates this by having @PublishedApi only on expect.
This blocks merge of PR in KT-58551.

Currently, unwrap is not called from public inline functions.
Looks like just removing annotation is a safe fix.

…riction

In KT-58551 we require all annotations from expect declaration to be
present on actual.

Currently, `unwrap` is not called from public inline functions.
We can safely remove it.
@qwwdfsad qwwdfsad self-requested a review July 18, 2023 10:29
@qwwdfsad qwwdfsad added the kotlin-merge-blocker PRs labeled as merge-blockers are effectively preventing a corresponding merge into main Kotlin repo label Jul 18, 2023
@qwwdfsad qwwdfsad requested a review from mshishkina July 18, 2023 12:45
@qwwdfsad qwwdfsad merged commit 2bd0f29 into Kotlin:develop Jul 18, 2023
@merfemor merfemor deleted the Roman.Efremov/MR/expect-actual-annotations branch July 18, 2023 14:46
merfemor added a commit that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kotlin-merge-blocker PRs labeled as merge-blockers are effectively preventing a corresponding merge into main Kotlin repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants