Skip to content

tests/run/i4947c.scala won't compile on Windows because AUX is reserved filename on Windows #5148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
melekhove opened this issue Sep 24, 2018 · 1 comment

Comments

@melekhove
Copy link
Contributor

On Windows:
sbt:dotty> dotc tests\run\i4947c.scala

Generated files:
24.09.2018 15:56 928 Aux$.class
24.09.2018 15:56 642 Test$.class
24.09.2018 15:56 280 Test.class
24.09.2018 15:56 572 Test.tasty

On Linux:
sbt:dotty> dotc tests/run/i4947c.scala

Generated files:
-rw-r--r-- 1 mev users 262 Sep 24 16:12 Aux.class
-rw-r--r-- 1 mev users 928 Sep 24 16:12 Aux$.class
-rw-r--r-- 1 mev users 790 Sep 24 16:12 Aux.tasty
-rw-r--r-- 1 mev users 280 Sep 24 16:12 Test.class
-rw-r--r-- 1 mev users 642 Sep 24 16:12 Test$.class
-rw-r--r-- 1 mev users 572 Sep 24 16:12 Test.tasty

@melekhove melekhove changed the title Some .class and .tasty files are not created in particular cases on Windows tests/run/i4947c.scala won't compile on Windows because AUX is reserved filename on Windows Sep 28, 2018
@melekhove
Copy link
Contributor Author

In order to fix it Aux class in i4947c.scala should be renamed to Aux_ for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant