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
vyper Version (output of vyper --version): 0.3.8+commit.d76c6ed2
OS: OSX
Python Version (output of python --version): 3.8.0
What's your issue about?
The type of folded constant expression can be ambiguous when it cannot be inferred prior to typeching. This leads the constant expression to mostly act as a macro.
Version Information
vyper --version
): 0.3.8+commit.d76c6ed2python --version
): 3.8.0What's your issue about?
The type of folded constant expression can be ambiguous when it cannot be inferred prior to typeching. This leads the constant expression to mostly act as a macro.
vyper/vyper/ast/folding.py
Lines 183 to 189 in 187ab0e
For example, the following code compiles while I don't think it should.
How can it be fixed?
I'm not really sure how this could be fixed easily with the current folding design.
The text was updated successfully, but these errors were encountered: