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

Turn back on Scala 3 tests, enable big-case-class tests #557

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Feb 16, 2024

Turn on tests to verify #386

Scala 3 tests were accidentally disabled in #553, this re-enables them

The big-case-class tests do work, with the caveat you need to set -Xmax-inlines to be greater than the width of your case class, and the compilation is notably slower on 3.3.1 than in Scala 213.11. However, the performance seems to be better in 3.4.0, and -Xmax-inlines is no longer necessary.

For now, I just add -Xmax-inlines and accept the compilation slowness, so as to not break anyone using Scala 3.3.1. Eventually, as people upgrade to 3.4.0, the problem can be expected to go away

@lihaoyi lihaoyi merged commit 8c6e991 into main Feb 16, 2024
8 checks passed
@lolgab lolgab deleted the large-scala-3 branch February 16, 2024 12:37
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.

1 participant