You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems this is an inherent problem with solc versions prior to 0.7.0.
For solc versions 0.7.0 and higher, slither could refrain from performing the filtering that is causing this issue.
For versions prior to 0.7.0, it's probably possible to distinguish call options from functions called value and gas from inside solc_parsing. Another approach would be to halt and produce an error message if it encounters declarations for functions named "value" or "gas".
0xalpharush
changed the title
[Bug-Candidate]: No tuple variable assigned when call destination is compound expression
[Bug]: No tuple variable assigned when call destination is compound expression
May 19, 2023
Describe the issue:
When I invoke a multi-return method on a cast expression, the generated IR does not contain a
HighLevelCall
operation to initialize a tuple variable.I think this only happens if the method has at least one parameter.
Code example to reproduce the issue:
Version:
0.9.3
Relevant log output:
The text was updated successfully, but these errors were encountered: