Skip to content
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

Use correct set of flags for Symbol.newBind in ZippedProduct #76

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

WojciechMazur
Copy link
Contributor

@WojciechMazur WojciechMazur commented Aug 16, 2023

Scala 3.3.1 would introduce additional checks under -Xcheck-macros flags, one of these are validating correct usage of Flags for Symbol.newBind. scala/scala3@3c3c0fb
Currently used Flags.Locals are incorrect as they should be used for Symbol.newVal. Symbol.newBind requires subset of Flags.Case. The issue was found in the Open Community Build for Scala 3.3.1-RC5 and the logs can be found here

I propose a quick fix for these issue, and I recommend to publish a new patch version of ducktape before release 3.3.1 to allow for frictionless migration of ducktape users to newer version of compiler and to allow the Open Community Build to test this project against next versions of the compiler

@arainko
Copy link
Owner

arainko commented Aug 16, 2023

Thank you very much for this ❤️

@arainko arainko merged commit 44dfdde into arainko:master Aug 16, 2023
4 checks passed
@arainko
Copy link
Owner

arainko commented Aug 16, 2023

ducktape 0.1.11 is being published as we speak

@WojciechMazur WojciechMazur deleted the fix/scala-3.3.1 branch August 16, 2023 21:29
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