Fixes constant folding for 39ec0e6152784846
Merge pull request #296 from yurydelendik/fix-39ec0e615

Fixes constant folding for 39ec0e6152784846