=str: #16285: Expand should not drop elements on completion

This one is nested, so the whole thing is not in a static context. The byte-code for that method is not the interesting part, the interesting part is whether the `if` down in the real code gets elided or not.