-
Notifications
You must be signed in to change notification settings - Fork 190
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
Building with scala 3 (backport) #345
Conversation
d1f383d
to
e1d7ec8
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.
LGTM with a few cosmetic comments
project/build.properties
Outdated
@@ -1 +1 @@ | |||
sbt.version=1.2.7 | |||
sbt.version=1.5.4 |
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.
Maybe go to 1.5.5
directly?
@@ -74,7 +74,7 @@ trait ProductFormats extends ProductFormatsInstances { | |||
_.getName.drop("copy$default$".length).takeWhile(_ != '(').toInt) | |||
val fields = clazz.getDeclaredFields.filterNot { f => | |||
import Modifier._ | |||
(f.getModifiers & (TRANSIENT | STATIC | 0x1000 /* SYNTHETIC*/)) > 0 | |||
(f.getModifiers & (TRANSIENT | STATIC | 0x1000 /* SYNTHETIC*/)) > 0 || f.getName.endsWith("$outer") |
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.
Maybe add a comment why that's needed.
Backport of #342 to the release-1.3.x branch