Code error: Attempted to assign to const 'num'.
Backtrace:
