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
{{ message }}
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 27, 2026. It is now read-only.
Public types nested in internal Kotlin types not marked as internal #682
Given a public nested type inside a private/internal type in Kotlin:
internal data class ParentType () {
enum class ChildEnum { VALUE1, VALUE2 }
}
We correctly hide ParentType but we do not hide ChildEnum because we do not check parent visibility. This results in a warning such as this when generator is trying nest the ChildEnum object inside to ParentType object:
warning BG8604: top ancestor ParentType not found for nested type ParentType.ChildEnum
The good news is ChildEnum will not be bound due to the warning, so the final binding is correct, but we should handle this correctly.
A new Preview version of Xamarin.Android has now been published that includes the fix for this item. The fix is not yet included in a Release version. I will update this item again when a Release version is available that includes the fix.
Fix included in Xamarin.Android SDK version 11.1.0.15.
Fix included on macOS in Visual Studio 2019 for Mac version 8.8 Preview 4. To try the Preview version that includes the fix, check for the latest updates on the Previewupdater channel.
Fix included on macOS in Visual Studio 2019 for Mac version 8.8. To get the new version that includes the fix, check for the latest updates on the Stableupdater channel.
Activity
[Xamarin.Android.Tools.Bytecode] Hide Kotlin nested types inside (#723)
[Xamarin.Android.Tools.Bytecode] Hide Kotlin nested types inside (#723)
Bump to xamarin/Java.Interop/d16-8@79d95334
Bump to xamarin/Java.Interop/d16-8@79d95334 (#5139)
brendanzagaeski commentedon Oct 13, 2020
Release status update
A new Preview version of Xamarin.Android has now been published that includes the fix for this item. The fix is not yet included in a Release version. I will update this item again when a Release version is available that includes the fix.
Fix included in Xamarin.Android SDK version 11.1.0.15.
Fix included on Windows in Visual Studio 2019 version 16.8 Preview 4. To try the Preview version that includes the fix, check for the latest updates in Visual Studio Preview.
Fix included on macOS in Visual Studio 2019 for Mac version 8.8 Preview 4. To try the Preview version that includes the fix, check for the latest updates on the Preview updater channel.
Bump to xamarin/java.interop/master@b991bb86 (#5198)
brendanzagaeski commentedon Nov 10, 2020
Release status update
A new Release version of Xamarin.Android has now been published that includes the fix for this item.
Fix included in Xamarin.Android SDK version 11.1.0.17.
Fix included on Windows in Visual Studio 2019 version 16.8. To get the new version that includes the fix, check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/.
Fix included on macOS in Visual Studio 2019 for Mac version 8.8. To get the new version that includes the fix, check for the latest updates on the Stable updater channel.
[Xamarin.Android.Tools.Bytecode] hide Kotlin internal nested types (#827
[Xamarin.Android.Tools.Bytecode] Hide Kotlin nested types inside (#723)