Fix else emit
This commit is contained in:
parent
0fb0aee536
commit
be80da8163
@ -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))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user