Constant evaluation is not used widely during compilation #345
Labels
scope: partial-eval
The constant and partial evaluation optimization mechanisms (src/optimizer/constEval.ts)
Milestone
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.
The text was updated successfully, but these errors were encountered: