deref addr's in list of atom_codes (#484)
This commit is contained in:
@@ -960,6 +960,8 @@ impl MachineState {
|
|||||||
let mut chars = String::new();
|
let mut chars = String::new();
|
||||||
|
|
||||||
for addr in addrs {
|
for addr in addrs {
|
||||||
|
let addr = self.store(self.deref(addr));
|
||||||
|
|
||||||
match Number::try_from((addr, &self.heap)) {
|
match Number::try_from((addr, &self.heap)) {
|
||||||
Ok(Number::Fixnum(n)) => {
|
Ok(Number::Fixnum(n)) => {
|
||||||
match u32::try_from(n) {
|
match u32::try_from(n) {
|
||||||
|
|||||||
Reference in New Issue
Block a user