Replace the "must be an address" assertion with an implementation that emits and borrows the base value. Fixes #71598.