fix: add parTraverse semantics back in
This commit is contained in:
@@ -27,7 +27,7 @@ object semantics {
|
|||||||
toRename = (main +: chunks).toList
|
toRename = (main +: chunks).toList
|
||||||
res <- toRename
|
res <- toRename
|
||||||
.zip(scope.subscopes(toRename.size))
|
.zip(scope.subscopes(toRename.size))
|
||||||
.traverse(checkFunc)
|
.parTraverse(checkFunc)
|
||||||
(typedChunks, errors) = res.foldLeft((Chain.empty[microWacc.FuncDecl], Chain.empty[Error])) {
|
(typedChunks, errors) = res.foldLeft((Chain.empty[microWacc.FuncDecl], Chain.empty[Error])) {
|
||||||
case ((acc, err), (funcDecl, errors)) =>
|
case ((acc, err), (funcDecl, errors)) =>
|
||||||
(acc :+ funcDecl, err ++ errors)
|
(acc :+ funcDecl, err ++ errors)
|
||||||
|
|||||||
Reference in New Issue
Block a user