-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Support parsing record classes in Java source files #14846
Comments
Thanks and I'm sorry I didn't do the right thing of porting this over to Dotty. I must've just forgotten... 😬 |
Any progress on this, or an estimate as to when records will be supported? I'm dealing with Java applications with Scala tests, and it's frustrating not to be able to use records, especially since Scala 2 was fixed. Could this issue's priority be bumped up? Thanks. |
Thank you. Just checking you didn't find something more interesting to do in the meantime ;-). |
This issue was picked for the Issue Spree No. 24 of 29 November 2022 which takes place in a week from now. @odd, @markehammons will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here. |
We've started to work on it during the Spree with @odd. I'll open a WIP PR. |
This issue was picked for the Issue Spree No. 27 of 07 March 2023 which takes place in a week from now. @smarter, @TheElectronWill, @odd will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here. |
Removing the Spree label as there is a finished open PR (#16762). |
If you are a user who is running into the lack of this, consider changing your project to set see https://www.scala-sbt.org/1.x/docs/Java-Sources.html when somebody on Discord hit this today, the error message from the compiler was "illegal start of type declaration", pointing to |
This is a port of scala/scala#9551. Fixes #14846.
We need to forward-port @harpocrates's scala/scala#9551. Note that our equivalent of Scala 2's JavaParsers is in https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/parsing/JavaParsers.scala.
The text was updated successfully, but these errors were encountered: