On 01/29/2018 12:53 PM, Evan Burkey wrote:
On Monday, 29 January 2018 at 19:12:13 UTC, Steven Schveighoffer wrote:
version is a keyword, you can't use it here like this. Not sure if
this is related to your issue directly, but definitely it will show up
as an error when the compiler looks at it properly.
So I tried changing the name to "v.txt" and had the same results:
PowerShell threw the same errors, but the D2 command prompt worked just
fine.
It's the other "version". :) You can't use a keyword as a symbol:
immutable version = 1; // bad
immutable version_ = 1; // good
Ali