-
Notifications
You must be signed in to change notification settings - Fork 47
Add support for Dotty #122
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
Labels
Comments
Currently stopped by scala/scala3#9780 |
Compiles with Scala 3.0.0-M1. As soon as ScalaTest is published, I guess I can submit a PR, and we can publish a new stable version. |
ScalaTest is there now. Running into problems with reflective calls (structural types): // object Action
trait Wrapper extends Action.Trigger {
def peer: javax.swing.JComponent {
def addActionListener(a: ActionListener): Unit
def removeActionListener(a: ActionListener): Unit
def setAction(a: javax.swing.Action): Unit
def getAction(): javax.swing.Action // note: must keep empty parentheses for Java compatibility
}
private var _action: Action = Action.NoAction
def action: Action = _action
def action_=(a: Action): Unit = { _action = a; peer.setAction(a.peer) } when I call action_=, it gives
|
PR ready now: #124 |
fixed in #124 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a build for latest Dotty (as of this writing 0.27.0-RC1), and then publish an artifact.
The text was updated successfully, but these errors were encountered: