fix Issue 7887 - [CTFE] can't assign to returned reference