-
Notifications
You must be signed in to change notification settings - Fork 393
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
Don't suppress obvious members in kotlin.Enum and kotlin.Any #3349
Conversation
306ede1
to
f6504c3
Compare
Behaviour is the same after rebase on master (with new Analysis API with fix for https://youtrack.jetbrains.com/issue/KT-63223/Analysis-API-reference-to-declarations-with-kotlin-package-are-not-resolved) - so it's unrelated |
It is only important for stdlib.
I think you can suppress these tests by the |
@vmishenev thanks! I've removed analysis flag, suppressed test and added comments to the issues |
I'm ready to approve it as it is, but it would be nice to have additional tests for this bug specifically in just to reiterate: the tests in dokka-base are good, so I'm only proposing to add additional tests and only for checking obvious members in |
9f31d14
to
ba0d356
Compare
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.
👍 👍 Nice work with the tests and corner cases, ObviousMember
feels much safer now :)
Fixes #2863
This is draft because of 2 questions:
kotlin
package, we need to provide flagAnalysisFlags.allowKotlinPackage
- should we hide it under a flag at our side? And if so, what is the best way provide it to analysis? Or we can just set ittrue
- Descriptor based analysis doesn't need any additional configurationEnum
. During getting functions of class forEnum
from test it fetches also methods fromEnum.java
:clone
,finalize
,getDeclaringClass
. Somewhere later first 2 are filtered, but the last one is not, and so present in the documentation in the end. I was failed "to find why" and "what to do next" during debugging for 2 hours of FIR compiler internals... So asking for some help here :)