Attempting to copy/save a referents-allowed buffer stream opened in an outer nested-referents scope.

#6065   Run-time catchable error

Attempting to copy/save a referents-allowed buffer stream opened in an outer nested-referents scope.

Explanation

It is not allowed to copy/save a stream shelf that contains an item that was open with referents allowed in an outer referents scope. The rationale is to avoid the need to resolve referents from outer referent scopes.