Skip to content
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

Stabilize Symbol member methods in reflection API #13314

Merged

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki added the release-notes Should be mentioned in the release notes label Aug 17, 2021
@nicolasstucki nicolasstucki added this to the 3.1.0 milestone Aug 17, 2021
@nicolasstucki nicolasstucki force-pushed the stabilize-refelection-symbol-members-api branch 2 times, most recently from b132fd6 to fadf978 Compare August 17, 2021 13:34
@nicolasstucki nicolasstucki marked this pull request as ready for review August 17, 2021 20:41
@dwijnand dwijnand changed the title Stabilize Symbol member methods in refelction API Stabilize Symbol member methods in reflection API Aug 19, 2021
@nicolasstucki nicolasstucki force-pushed the stabilize-refelection-symbol-members-api branch from fadf978 to 821a0e3 Compare August 20, 2021 08:00
@nicolasstucki nicolasstucki force-pushed the stabilize-refelection-symbol-members-api branch from bf35a48 to 88764c5 Compare August 20, 2021 09:31
def memberMethod(name: String): List[Symbol]

/** Get named non-private methods declared or inherited */
@experimental
def methodMember(name: String): List[Symbol]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do both methodMember and methodMembers return a List[Symbol] ? Shouldn't methodMember return a Symbol?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are the overloads

@smarter smarter merged commit 68044a6 into scala:master Aug 20, 2021
@smarter smarter deleted the stabilize-refelection-symbol-members-api branch August 20, 2021 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants