Rename U128.as_64 to try_as_u64 and deprecate the old function
The function name is inconsistent with other downcasts, it needs to be updated to try_as_u64, and the old function needs to be deprecated and then later removed.
I would like to give this a go. Can I be assigned on this issue
@SwayStar123 could you please provide the file directory in which i need to change. I'm unable to find it
sway-lib-std/src/u128.sw
Hello, could I work on this?
Hello, this serves my intentions to take on the task of renaming U128.as_64 to try_as_u64 and deprecating the old function. This change will align the function name with other downcasts, making our codebase more consistent and easier to understand.
I'll ensure that the deprecation process is handled smoothly, updating any internal usages and providing clear guidance for external users to transition to the new function.
Let me handle this issue!
Following up on my work on #7042 and #7043, I'd like to continue fixing issues on Sway, please assign me.
Could I take on this issue?
Can I start working on this?
i will like to work on this. ETA 24 hours