Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPrevent usage of functions marked as private outside of their module #467
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Currently, marking a function as
privateis purely informative. Ideally, the compiler should enforce that the function isn’t used outside that module. It should also cover interesting cases like:Cheers