Skip to content

Conversation

@Reddy-dev
Copy link
Contributor

No description provided.

@SanderMertens
Copy link
Owner

What is the purpose of this function? Since you're passing in the type as well, can't you just use that when getting the target?

It seems like this is used to obtain a constant of a different enum type, but that doesn't seem safe.

@Reddy-dev
Copy link
Contributor Author

@SanderMertens > What is the purpose of this function? Since you're passing in the type as well, can't you just use that when getting the target?

It seems like this is used to obtain a constant of a different enum type, but that doesn't seem safe.

constant of a different enum type this is meant to get the runtime constant that inherits from an integer type, as in just a wrapper over the runtime variants of the equivalent functiuons in the non-runtime get_constant

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