Fix for #1124: Boxing issue with shortcut method refinement and `=`
Test for #1124: Boxing issue with shortcut method refinement and `=`