Reattachment of an object of a generic type with an expanded parameter to a variable of a generic type with a reference parameter is not supported, but this is not caught at run-time at the moment.