You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes: #682
Context: dotnet/android#4955
We added support for reading Kotlin-provided metadata in commit
439bd83. Part of this was recognizing when a type was
"Kotlin-internal" and marking it as `private` or "package-private" to
prevent `generator` from attempting to bind it.
However, we didn't consider *nested* types of `private` or
"package-private" types in 439bd83, leaving the nested type
visibility unchanged. This could result in a warning when binding
such nested types:
warning BG8604: top ancestor ParentType not found for nested type ParentType.ChildEnum
Note: this doesn't prevent building -- unless `csc /warnaserror` is
used -- and the type is not bound, so we are doing the "correct" thing.
This warning *does* create a "less-than-desirable" user experience,
possibly confusing users.
Update `generator` to change the visibility of nested types within
non-`public` types so that `generator` doesn't attempt to bind the
nested types. This avoids the BG8604 warning.
0 commit comments