-
Notifications
You must be signed in to change notification settings - Fork 8
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
Scala 3 / Dotty Support #55
Comments
First PR. #48 |
Second PR. #49 |
Vararg will be fixed on the next release of Dotty. See #85 |
This issue scala/scala3#7312 is now fixed so the Java files need to be reverted. Fix check mark above when completed. |
There is one serialization test failing now based on changes in this PR - #92 Once this has been fixed and the pull merged, this issue can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Blockers
This issue is a overall issue to keep track of Dotty support. Different PRs are being worked on and merged to master as long as the changes are backward compatible.
Fix was merged in
0.20.0-RC1
so we have serialization but the output is not the same.Enum
to a value running into the following Bad type operand on stack errors or the like.Blocked on the following issues.
Serializable
) are incorrectly serialized scala/scala3#9179Update: 9-2-2020 - Dotty 0.27.0-RC1 - One test fails -
org.ekrich.config.impl.ValidationTest.validationFailedSerializable
Error:
java.io.NotSerializableException: org.ekrich.config.impl.SimpleConfigOrigin
Ignored for now - needs investigating.
This is currently not passing the tests due to a Callable[Config] that produces a value correctly but does not get assigned correctly. This call returns a config - https://github.com/ekrich/sconfig/blob/topic/dotty2/sconfig/shared/src/main/scala/org/ekrich/config/impl/ConfigImpl.scala#L54 when debugged from here - https://github.com/ekrich/sconfig/blob/topic/dotty2/sconfig/shared/src/main/scala/org/ekrich/config/impl/ConfigImpl.scala#L353-L365 - but then always falls through to this code - https://github.com/ekrich/sconfig/blob/topic/dotty2/sconfig/shared/src/main/scala/org/ekrich/config/impl/ConfigImpl.scala#L65-L66
The above has been reported and considered.
try
expression mutating avar
is lifted, incorrect code is generated Miscompilation: When atry
expression mutating avar
is lifted, incorrect code is generated scala/scala3#7356This code now has been modified to avoid this problem so the code will work and test. See 2ae7d88
Java Blockers
These are lower priority as Java can use the Java API but these keep all the functionality from working.
0.27.0-bin-20200810-74ba21c-NIGHTLY
@vararg
annotation when called from Java does not compile @vararg annotation when called from Java does not compile scala/scala3#7212The text was updated successfully, but these errors were encountered: