don't flat iterable streams in for expression

This commit is contained in:
DieMyst 2023-03-07 09:57:53 +04:00
parent 95c0ec5ec5
commit d154e74656
2 changed files with 4 additions and 4 deletions

View File

@ -137,7 +137,7 @@ object TagInliner extends Logging {
case ForTag(item, iterable, mode) => case ForTag(item, iterable, mode) =>
for { for {
vp <- valueToModel(iterable) vp <- valueToModel(iterable)
flattened <- flat(vp._1, vp._2, true) flattened <- flat(vp._1, vp._2, false)
(v, p) = flattened (v, p) = flattened
n <- Mangler[S].findAndForbidName(item) n <- Mangler[S].findAndForbidName(item)
elementType = iterable.`type` match { elementType = iterable.`type` match {