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

Use @PublishedApi annotation on functions called from plugin-generated code #2705

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

sandwwraith
Copy link
Member

Since these functions can be called from other modules, they should have this annotation to satisfy a compiler visibility checker.

Fixes #2703

…d code

Since these functions can be called from other modules, they should have this annotation to satisfy a compiler visibility checker.

Fixes #2703
@sandwwraith sandwwraith requested a review from shanshin June 5, 2024 13:56
@broadwaylamb
Copy link

broadwaylamb commented Jun 5, 2024

to satisfy a compiler visibility checker

Important note: not just for that, but because these functions are effectively public ABI, but nothing in their signature indicated that they are, and that they should be maintained as such.

@shanshin
Copy link
Contributor

shanshin commented Jun 5, 2024

@sandwwraith , api check failed

@sandwwraith sandwwraith merged commit fbd0734 into dev Jun 5, 2024
4 checks passed
@sandwwraith sandwwraith deleted the use-published-api branch June 5, 2024 15:02
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.

3 participants