-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ets: Rename and export some types #5649
ets: Rename and export some types #5649
Conversation
* access() -> table_access() * tab() -> table() * type() -> table_type() * comp_match_spec() -> compiled_match_spec() The exported types have their old variants kept for backward compatibility.
CT Test Results 5 files 251 suites 2h 1m 31s ⏱️ For more details on these failures, see this check. Results for commit 80d7c33. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
509e353
to
5f6fad9
Compare
|
I think this is good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good, and as far as I can see there is no incompatibility introduced (old code using the exported types before this change should not get new Dialyzer warnings)
5f6fad9
to
80d7c33
Compare
Rename some ets types to clearer name:
The exported types have their old variants kept for backward compatibility.
The types
table_access
andtable_type
have been exported.For consistency, I also renamed all usage of
Tab
toTable
within the ets module itself.