/// Read the value at `address`; does not account for permissions at all.
Read the value at `address`; does not account for permissions at all.
Read the value at ` address ` ; does not account for permissions at all .
pub(super) fn peek(&self, address: Address) -> Value {
        match address {
            Address::Local(lv) => self.machine[lv],
            Address::Constant(v) => v,
            Address::Field(o, f) => match &self.machine[o] {
                ObjectData::Instance(i) => i.fields[f],
                ObjectData::Tuple(v) => v.fields[f],
                d => panic!("unexpected thing with fields: {d:?}"),
            },
        }
    }
pub ( super ) fn peek ( & self , address : Address ) -> Value { match address { Address :: Local ( lv ) => self . machine [ lv ] , Address :: Constant ( v ) => v , Address :: Field ( o , f ) => match & self . machine [ o ] { ObjectData :: Instance ( i ) => i . fields [ f ] , ObjectData :: Tuple ( v ) => v . fields [ f ] , d => panic ! ( " " ) , } , } }
Read the value at `address`; does not account for permissions at all.
Read the value at ` address ` ; does not account for permissions at all .
&self
address
Address