From 67f302dda6daa493aaad09a7a618e831fa389c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C5=A0pan=C4=9Bl?= Date: Wed, 27 Nov 2024 11:27:14 +0100 Subject: [PATCH] Avoid deprecated zipped (#152) As suggested in #151 (Fix implemented blindly from web UI only, CI passed on the fork) --- cask/src-3/cask/router/Macros.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cask/src-3/cask/router/Macros.scala b/cask/src-3/cask/router/Macros.scala index e93eef5711..e56e8cd6a4 100644 --- a/cask/src-3/cask/router/Macros.scala +++ b/cask/src-3/cask/router/Macros.scala @@ -261,7 +261,7 @@ object Macros { sigss: Seq[Seq[ArgSig[Any, _, _, Any]]] ) => { val parsedArgss: Seq[Seq[Either[Seq[cask.router.Result.ParamError], Any]]] = - (sigss, argss, ctxs).zipped.map { case (sigs, args, ctx) => + sigss.lazyZip(argss).lazyZip(ctxs).map { case (sigs, args, ctx) => sigs.map{ case sig => Runtime.makeReadCall( args,