ETH Price: $3,190.53 (+2.37%)

Solidity Bug Info

Bug Name Description Severity
Accessing the ``.selector`` member on complex expressions leaves the expression unevaluated in the legacy code generation.
When accessing the ``.selector`` member on an expression with side-effects, like an assignment, a function call or a conditional, the expression would not be evaluated in the legacy code generation. This would happen in expressions where the functions used in the expression were all known at compilation time, regardless of whether the whole expression could be evaluated at compilation time or not. Note that the code generated by the IR pipeline was unaffected and would behave as expected.

- Link:
- First Introduced: 0.6.2
- Fixed in Version: 0.8.21
- Published:
- Severity<: low