Remove BP optimization.

This commit is contained in:
Stephen Chung
2023-03-18 09:50:50 +08:00
parent 29d6cdcc39
commit 7caf80e27c
3 changed files with 8 additions and 0 deletions

View File

@@ -431,6 +431,7 @@ impl Engine {
#[cfg(not(feature = "no_object"))]
Expr::Dot(..) => self.eval_dot_index_chain(global, caches, scope, this_ptr, expr, None),
#[allow(unreachable_patterns)]
_ => unreachable!("expression cannot be evaluated: {:?}", expr),
}
}