=== What steps will reproduce the problem ===
If you create a windows batch file containing a scala program, an error is reported.
Create, for instance, a batch file HelloWorld.cmd that contains a scala program that also prints the arguments:
Start the batch file in Windows PowerShell
=== What is the expected behavior? ===
=== What do you see instead? ===
baz was unexpected at this time.
=== Additional information ===
=== What versions of the following are you using? ===
- Scala: 2.10.0
- Java: 1.7.0_09
- Operating system: Windows 7 x64
should be delayed evaluated:
this was already the case at.