Skip to content

Export does not export @alpha name #9155

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

Closed
edolgy opened this issue Jun 10, 2020 · 0 comments · Fixed by #9156
Closed

Export does not export @alpha name #9155

edolgy opened this issue Jun 10, 2020 · 0 comments · Fixed by #9156
Assignees

Comments

@edolgy
Copy link

edolgy commented Jun 10, 2020

object Foo:
  @scala.annotation.alpha("w") def \/\/ = "W"

object Bar:
  export Foo._
// Java decompiled Foo method signature
public String w() 

// Java decompiled Bar method signature, should be same as above
public final String $bslash$div$bslash$div()
@nicolasstucki nicolasstucki self-assigned this Jun 11, 2020
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Jun 11, 2020
@nicolasstucki nicolasstucki linked a pull request Jun 11, 2020 that will close this issue
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants