-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Pass auxiliary class files to zinc so they are deleted together #3072
Pass auxiliary class files to zinc so they are deleted together #3072
Conversation
Fixes com-lihaoyi#3068 `*.tasty`, `*.nir` and `*.sjsir` files were not cleaned up by zinc when the companion class files were deleted. This passes the right `AuxiliaryClassFiles` to zinc
793ad6a
to
611a7e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the tests should also assert the success or failure of the compile task, since we have a strong expectation, that the second run should fail.
To not make other tests more complex since they used a single file, I added a separate test that writes another source file in place and asserts that the compilation first succeeds and then fails after deleting the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just two small doc improvements.
1604252
to
52e6675
Compare
Co-authored-by: Tobias Roeser <le.petit.fou@web.de>
Co-authored-by: Tobias Roeser <le.petit.fou@web.de>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
Fixes #3068
*.tasty
,*.nir
and*.sjsir
files were not cleaned up by zinc when the companion class files were deleted.This passes the right
AuxiliaryClassFiles
to zinc.Pull Request: #3072