tact-lang / tact

Tact compiler main repository
https://tact-lang.org
MIT License
360 stars 100 forks source link

Constant evaluation is not used widely during compilation #345

Closed Gusarich closed 3 months ago

Gusarich commented 4 months ago

Turns out that the reason behind both #327 and #339 is that constant evaluation in compiler works not with all values actually. It's only being called in certain cases, such as static calls of globally defined functions. We should change this behavior.