fix position property in stream_property/2
@@ -4709,12 +4709,8 @@ fn system_call(
}
}
"position" => {
- if stream.options.reposition {
if let Some(position) = stream.position() {
HeapCellValue::Addr(Addr::Usize(position as usize))
- } else {
- unreachable!()
- }
} else {
self.fail = true;
return Ok(());
