-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversion drops a constructor #53
Comments
Another case of a dropped constructor:
becomes:
|
The constructor usage optimization is not yet perfect, the sources are here https://github.com/mysema/scalagen/blob/master/scalagen/src/main/scala/com/mysema/scalagen/Constructors.scala I don't think there is a valid way to convert the first example to Scala, but the second example should work |
Technically the first one could be ( |
Starting from the Java:
Converting the class B gives:
The default constructor that called
super("some value")
is silently dropped.The text was updated successfully, but these errors were encountered: