The scala documentation shows that the way to create a scala script is like this:
#!/bin/sh
exec scala \"$0\" \"$@\"
!#
/* Script here */
I
Scala did not always support /usr/bin/env. No particular reason for it, just, I imagine, the person who wrote the shell scripting support was not familiar with that syntax, back in the mid 00's. The documentation followed what was supported, and I added /usr/bin/env support at some point (iirc), but never bothered changing the documentation, it would seem.