Switch the get_loop_elements implementation to only return populated arrays when its an array-like object.
This commit is contained in:
@@ -54,7 +54,7 @@ impl Loopable for IterationContext {
|
||||
// TODO: Would this even ever be called? Won't matter, but I'd
|
||||
// like to know. Since it is injected 1 above the current
|
||||
// context, we wouldn't be able to access it with `{.}`.
|
||||
vec![self]
|
||||
Vec::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user