all array stores and a missed error
This commit is contained in:
parent
512e7b63ad
commit
5ae8c54c69
2 changed files with 4 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -418,6 +418,7 @@ impl Vm {
|
||||||
array[*index as usize] = value.clone();
|
array[*index as usize] = value.clone();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ObjectRef::Object(_) => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue