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

[Feature Request] Infer uses + use short name for types and modules #9

Open
sblackshear opened this issue May 15, 2024 · 0 comments
Open

Comments

@sblackshear
Copy link

A request that I think/hope would be pretty easy, but would make the decompiled code a lot more readable: inferring a use for each imported type + using the short name for types in argument names etc (e.g., can write f(s: String) instead of f(s: 0x1::string::String). The disassembler logic around module_aliases does something similar to this if it's helpful https://github.com/move-language/move-sui/blob/main/crates/move-disassembler/src/disassembler.rs

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

No branches or pull requests

1 participant