mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Fix factorizeAsPowers
This commit is contained in:
@@ -250,7 +250,10 @@ impl BytecodeDecoder {
|
||||
let type_ = self.clone_at(pos).decode_type();
|
||||
|
||||
match type_ {
|
||||
BytecodeType::Function | BytecodeType::Class | BytecodeType::Unrecognized => {}
|
||||
BytecodeType::Function
|
||||
| BytecodeType::GeneratorFunction
|
||||
| BytecodeType::Class
|
||||
| BytecodeType::Unrecognized => {}
|
||||
_ => {
|
||||
panic!("Invalid: {:?} pointer that points backwards", type_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user