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

Do not let public unexport names #52814

Merged
merged 2 commits into from
Jan 8, 2024
Merged

Do not let public unexport names #52814

merged 2 commits into from
Jan 8, 2024

Conversation

LilithHafner
Copy link
Member

Fixes #52812

(shoutout to caching in the build process: rebuilding Julia from source to test this change was very fast)

@DilumAluthge DilumAluthge added the kind:bugfix This change fixes an existing bug label Jan 8, 2024
@LilithHafner LilithHafner added the status:merge me PR is reviewed. Merge when all tests are passing label Jan 8, 2024
@LilithHafner LilithHafner merged commit 486f434 into master Jan 8, 2024
5 of 9 checks passed
@LilithHafner LilithHafner deleted the lh/public-unexport branch January 8, 2024 21:32
@LilithHafner LilithHafner removed the status:merge me PR is reviewed. Merge when all tests are passing label Jan 8, 2024
@fredrikekre
Copy link
Member

Perhaps it should error instead?

@LilithHafner
Copy link
Member Author

Seems like a good idea.

This also raises the question: should duplicate exports error/warn, should duplicate public statements error/warn, and should public followed by export error/warn? The latter two can be done now in a non-breaking way.

@LilithHafner LilithHafner added the backport 1.11 Change should be backported to release-1.11 label Jun 8, 2024
@LilithHafner
Copy link
Member Author

We have to backport or this is breaking.

@KristofferC KristofferC mentioned this pull request Jun 13, 2024
60 tasks
@KristofferC
Copy link
Sponsor Member

KristofferC commented Jun 13, 2024

This was merged before branching so this commit already exists on release-1.11.

@KristofferC KristofferC removed the backport 1.11 Change should be backported to release-1.11 label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marking a symbol as public de-exports it
5 participants