-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Improve Mapping::find_match
to return error when multiple replacements are possible.
#5540
Comments
Hi @esdrubal ! Started some light work on this, how can I quickly test if I'm in the right direction? Thanks! |
Hi @AbhinavMir, the current sway/sway-core/src/decl_engine/mapping.rs Lines 132 to 168 in 996a351
If you do |
The following code should return an error when multiple replacements can be done.
sway/sway-core/src/decl_engine/mapping.rs
Lines 112 to 119 in 71e9ea9
The text was updated successfully, but these errors were encountered: