gluecodium
gluecodium copied to clipboard
Internal tag of parent not applied for nested struct (Flutter)
For Flutter, the nested struct of an internal struct is exposed.
package sdk.core
@Internal
struct OuterStruct {
struct InnerStruct {
a: Int = 1
}
inner: InnerStruct = {}
}
Leads to
export 'src/sdk/core/outer_struct.dart' show OuterStruct_InnerStruct;
Expected: inter struct not exposed
Current workaround: Add @Internal tag to nested struct.