That's already deprecated (under -Xfuture):
<console>:1: warning: Procedure syntax is deprecated. Convert procedure `func` to method by adding `: Unit =`.
That's already deprecated (under -Xfuture):