Skip to content

Documentation for some methods in Quotes seems to be wrong #14901

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
pikinier20 opened this issue Apr 11, 2022 · 0 comments · Fixed by #15034
Closed

Documentation for some methods in Quotes seems to be wrong #14901

pikinier20 opened this issue Apr 11, 2022 · 0 comments · Fixed by #15034
Assignees
Labels
Milestone

Comments

@pikinier20
Copy link
Contributor

pikinier20 commented Apr 11, 2022

Compiler version

git hash: 2ec9c52

Minimized code

/** Get non-private named methods defined directly inside the class */
def declaredType(name: String): List[Symbol]

/** Get all non-private methods defined directly inside the class, excluding constructors */
def declaredTypes: List[Symbol]

Expectation

It seems that these methods return symbols representing types instead of methods

@pikinier20 pikinier20 added the area:metaprogramming:quotes Issues related to quotes and splices label Apr 11, 2022
@nicolasstucki nicolasstucki added area:metaprogramming:reflection Issues related to the quotes reflection API and removed area:metaprogramming:quotes Issues related to quotes and splices labels Apr 11, 2022
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Apr 26, 2022
nicolasstucki added a commit to dotty-staging/dotty that referenced this issue Apr 26, 2022
bishabosha pushed a commit to dotty-staging/dotty that referenced this issue Oct 18, 2022
@Kordyjan Kordyjan added this to the 3.2.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants