-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Can't get inherited types from Quotes #14902
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
Milestone
Comments
Indeed, |
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
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 17, 2022
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Nov 23, 2022
smarter
added a commit
that referenced
this issue
Nov 23, 2022
little-inferno
pushed a commit
to little-inferno/dotty
that referenced
this issue
Jan 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
2ec9c52
Minimized code
Having a symbol of a class, we can retrieve from compiler API the information about:
However, we can't retrieve information about inherited types.
Expectation
Looking at the API, I'm not sure if it's not a oversight since there's a naming convention:
declaredMethods
- methods declared in a classmethodMembers
- methods declared in a class and inheriteddeclaredFields
- fields declared in a classfieldMembers
- fields declared in a class and inheritedAnd the method:
typeMembers
breaks the convention since it returns only declared types.Aren't we missing this method?
The text was updated successfully, but these errors were encountered: