This commit is contained in:
Folkert 2021-09-05 17:07:00 +02:00
parent b97c2d5d84
commit 12bc34f451

View file

@ -152,7 +152,7 @@ where
match expr {
Expr::Literal(lit) => {
if self.env().lazy_literals {
self.literal_map().insert(*sym, lit.clone());
self.literal_map().insert(*sym, *lit);
} else {
self.load_literal(sym, lit)?;
}