-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #3515: Do not save tasty in .class with -YemitTasty #3517
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
Conversation
Only emit .tasty file
We are currently not loading tasty from the |
if (attrLen == 0) { | ||
// A tasty attribute implies the existence of the .tasty file | ||
val tastyFilePath = | ||
classfile.jpath.resolveSibling(classfile.jpath.getFileName.toString.dropRight("class".length) + "tasty") |
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.
io.File(classfile.jpath).changeExtension("tasty")
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.
Thanks
df20ecd
to
41f6215
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.
We should have at least one test to confirm separate compilation works with this.
We have them in the idempotency tests, that is why ed61847 failed the tests. |
I will create one test that will execute in local tests. Idempotency tests only run on the CI. |
Only emit .tasty file