conform/err/BytesFrame.raz:14:12: error: can't return a slice of the procedure's own frame 14 | return BYTES(h); (* the procedure's own variable *) | ^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives conform/err/BytesFrame.raz:20:12: error: can't return a slice of the procedure's own frame 20 | return BYTES(h.count); (* a field of one *) | ^^^^^^^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives conform/err/BytesFrame.raz:26:12: error: can't return a slice of the procedure's own frame 26 | return BYTES(a[i]), i; (* an element of one, one of several results *) | ^^^^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives conform/err/BytesFrame.raz:31:12: error: can't return a slice of the procedure's own frame 31 | return BYTES(h); (* the procedure's copy *) | ^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives conform/err/BytesFrame.raz:38:12: error: can't return a slice of the procedure's own frame 38 | return BYTES(n); (* a local that may live in a register *) | ^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives conform/err/BytesFrame.raz:44:12: error: can't return a slice of the procedure's own frame 44 | return BYTES(a[1..3]); (* a slice of a local array *) | ^^^^^^^^^^^^^^ help: it is gone once the procedure returns: take the array as a var parameter, or fill a buffer the caller gives raz: 6 errors