all array stores and a missed error

This commit is contained in:
Sander Hautvast 2023-10-11 07:24:51 +02:00
parent 512e7b63ad
commit 5ae8c54c69
2 changed files with 4 additions and 2 deletions

View file

@ -1,9 +1,10 @@
use std::cell::{RefCell, UnsafeCell}; use std::cell::UnsafeCell;
use crate::class::{Class, Value};
use std::collections::HashMap; use std::collections::HashMap;
use std::fmt; use std::fmt;
use std::rc::Rc; use std::rc::Rc;
use std::sync::Arc; use std::sync::Arc;
use crate::class::{Class, Value};
use crate::classloader::CpEntry; use crate::classloader::CpEntry;
pub struct Object { pub struct Object {

View file

@ -418,6 +418,7 @@ impl Vm {
array[*index as usize] = value.clone(); array[*index as usize] = value.clone();
} }
} }
ObjectRef::Object(_) => {}
} }
} }
} }