Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comply with new compiler restriction on actual declaration annotations #325

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

merfemor
Copy link
Contributor

In KT-58551 we require all annotations from expect declaration to be present on actual.
This commit fixes violations on get/setValue methods, having @InlineOnly set only on expect declaration.

In KT-58551 we require all annotations from expect declaration
to be present on actual.
This commit fixes violations on get/setValue methods, having
`@InlineOnly` set only on `expect` declaration.
@mvicsokolova
Copy link
Collaborator

mvicsokolova commented Jul 27, 2023

Should it also appear in the kotlin-community/dev branch for the aggregate build? I've added the kotlin-merge-blocker label to initiate the rebase process.

@merfemor
Copy link
Contributor Author

Should it also appear in the kotlin-community/dev branch for the aggregate build? I've added the kotlin-merge-blocker label to initiate the rebase process.

It's not necessary, since this restriction is only warning and atomicfu doesn't have -Werror.

@merfemor merfemor merged commit 46d34fd into develop Jul 28, 2023
@merfemor merfemor deleted the Roman.Efremov/MR/expect-actual-annotations branch July 28, 2023 08:49
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