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

Rename FileMode.os to FileMode.u32 #3810

Merged
merged 1 commit into from
Jul 18, 2021
Merged

Rename FileMode.os to FileMode.u32 #3810

merged 1 commit into from
Jul 18, 2021

Conversation

SeanTAllen
Copy link
Member

Joe pointed out that the previous (not yet released change) that made
FileMode._os could be better. u32 is a more clear name. _os didn't
really matter as a name as it was private. With the functionality
becoming public we need the best name possible. u32() makes perfect
sense as the name as it is the filemode in a U32 representation.

Joe pointed out that the previous (not yet released change) that made
FileMode._os could be better. u32 is a more clear name. _os didn't
really matter as a name as it was private. With the functionality
becoming public we need the best name possible. u32() makes perfect
sense as the name as it is the filemode in a U32 representation.
@SeanTAllen SeanTAllen requested a review from jemc July 18, 2021 12:12
Copy link
Contributor

@Theodus Theodus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one suggestion for the changelog

@@ -10,10 +10,11 @@ All notable changes to the Pony compiler and standard library will be documented

### Added

- Add FileMode.u32 ([PR #3809](https://github.com/ponylang/ponyc/pull/3809))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extra entry should probably be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think so, it is intentional to show that there were two PRs associated with this change.

@SeanTAllen SeanTAllen merged commit b552099 into main Jul 18, 2021
@SeanTAllen SeanTAllen deleted the mode-u32 branch July 18, 2021 15:21
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