--- a/handouts/amm-faq.tex Fri Nov 14 12:38:59 2025 +0000
+++ b/handouts/amm-faq.tex Mon Nov 17 23:28:27 2025 +0000
@@ -137,6 +137,20 @@
\texttt{infix def \$ (r: Rexp) = RECD(s, r)} %$
\end{center}
+\subsection*{Outdated Syntax in CW4}
+
+The templates for this task contain the lines
+
+\begin{lstlisting}[numbers=none,language=Scala]
+def i(args: Any*): String = " " ++ sc.s(args:_*) ++ "\n"
+def l(args: Any*): String = sc.s(args:_*) ++ ":\n"
+\end{lstlisting}
+
+\noindent
+which produce a warning about ``The syntax `x: \_*` is no longer
+supported for vararg splices''. This warning can be avoided by writing
+\texttt{args*} instead of \texttt{args:\_*}.
+
\end{document}
%%% Local Variables: