Io.Writer fix dangling pointer

While underlying writer is Allocating writer buffer can grow in
vtable.drain call. We should not hold pointer to the buffer before that
call and use it after.
This remembers positions instead of holding reference.
6219c015d8Igor Anić committed on 8/8/2025, 7:56:26 PM· committed by Andrew Kelleyparent3ee4252
1 file changedLine totals unavailable