+
Skip to content

Conversation

reimai
Copy link
Contributor

@reimai reimai commented May 24, 2024

Classfiles of generated transformers are slightly different, the order of sealed subclasses is non-deterministic.
We're using bazel as a build tool and it's important for build to produce an exact same file for the same input, otherwise it's dependent targets are re-evaluated.

Copy link
Member

@MateuszKubuszok MateuszKubuszok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello 👋 Thank you for a contribution! 🙏

I left a comment with change request.

@MateuszKubuszok MateuszKubuszok changed the title Make transformer's generated code deterministic Make sealed trait/enum matching order deterministic May 24, 2024
@MateuszKubuszok MateuszKubuszok merged commit ccea90a into scalalandio:master May 27, 2024
@MateuszKubuszok
Copy link
Member

Thanks again for the fix! 🙏

Since we already updated Scala 2.13 stdlib to 2.13.14 (which slightly changes the contracts) I'd like the next release to be 1.1.0, and I would also like to merge Scala Native 0.5.1 support with it, which is currently blocked.

Once I'll be able to merge it, I'll publish your changes as part of 1.1.0.

@MateuszKubuszok
Copy link
Member

Released as 1.1.0

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

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载