-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #12249: don't export java defined modules #12516
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
Conversation
18758bb
to
a8bf3e9
Compare
@@ -1000,6 +1000,8 @@ class Namer { typer: Typer => | |||
) match | |||
case Some(other) => No(i"overrides ${other.showLocated}, which is already a member of $cls") | |||
case None => Yes | |||
else if sym.is(JavaDefined) then |
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.
I think the issue comes from trying to export a Java class because we're missing code for exporting the static methods of the class but we shouldn't prevent exporting a Java method
a8bf3e9
to
1ae6466
Compare
@@ -1000,6 +1000,8 @@ class Namer { typer: Typer => | |||
) match | |||
case Some(other) => No(i"overrides ${other.showLocated}, which is already a member of $cls") | |||
case None => Yes | |||
else if sym.is(JavaDefined) && sym.is(Module) then |
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.
else if sym.is(JavaDefined) && sym.is(Module) then | |
else if sym.is(JavaModule) then |
1ae6466
to
0c4c119
Compare
0c4c119
to
070b863
Compare
No description provided.