Prove scope of assigning consts inside conditionals.
Update comment