Fix else emit
This commit is contained in:
@@ -298,6 +298,8 @@ impl If {
|
|||||||
self.truthy.iter().try_for_each(|s| s.output(d, w))?;
|
self.truthy.iter().try_for_each(|s| s.output(d, w))?;
|
||||||
|
|
||||||
if let Some(v) = &self.falsey {
|
if let Some(v) = &self.falsey {
|
||||||
|
write!(w, "else ")?;
|
||||||
|
|
||||||
v.iter().try_for_each(|s| s.output(d, w))?;
|
v.iter().try_for_each(|s| s.output(d, w))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user