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

[stdlib] Rename UInt.value to UInt._value. #3717

Open
wants to merge 1 commit into
base: nightly
Choose a base branch
from

Conversation

helehex
Copy link
Contributor

@helehex helehex commented Oct 27, 2024

Part of making mlir fields private. There was probably a better way to do all this.

@helehex helehex requested a review from a team as a code owner October 27, 2024 23:54
@soraros
Copy link
Contributor

soraros commented Oct 28, 2024

Maybe mentioning that it's part of #3563. Can we also introduce the _mlir_type alias or do you prefer doing that in a separate PR?

@@ -410,7 +410,7 @@ struct Int(
Args:
value: The init value.
"""
self = Self(value.value)
self = Self(value._value)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
self = Self(value._value)
self._value = value._value

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.

2 participants