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

Migrate some modules to Scala 3 #6491

Open
ebruchez opened this issue Sep 13, 2024 · 2 comments
Open

Migrate some modules to Scala 3 #6491

ebruchez opened this issue Sep 13, 2024 · 2 comments
Assignees

Comments

@ebruchez
Copy link
Collaborator

Now that we are on Scala 2.13 (#4086), we can consider some migrations to Scala 3. We should be able to migrate some modules one by one.

The only drawback I can think of is that IntelliJ support might not be up to par yet.

@ebruchez ebruchez self-assigned this Sep 13, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
ebruchez pushed a commit that referenced this issue Sep 17, 2024
@obruchez
Copy link
Collaborator

The incorrect warning unused value of type scala.xml.NodeBuffer (add : Unit to discard silently) is a bug in the compiler: scala/bug#12658

ebruchez pushed a commit that referenced this issue Sep 18, 2024
ebruchez pushed a commit that referenced this issue Sep 18, 2024
ebruchez pushed a commit that referenced this issue Sep 18, 2024
ebruchez pushed a commit that referenced this issue Sep 18, 2024
ebruchez pushed a commit that referenced this issue Sep 18, 2024
ebruchez pushed a commit that referenced this issue Sep 18, 2024
@ebruchez
Copy link
Collaborator Author

Started using Scala 3 in a few modules. I have encountered issues, and given up for now, with some modules:

  • orbeon-proxy-portlet: issue with the scala-xml dependency
  • orbeon-servlet-support: can't find implementations for trait RequestRemoveHeaders from Scala 2.13 users of that module

ebruchez pushed a commit that referenced this issue Sep 19, 2024
ebruchez pushed a commit that referenced this issue Sep 19, 2024
- also try Optional Braces syntax and Universal Apply Methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants