Skip to content
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

Internal tag of parent not applied for nested struct (Flutter) #1602

Open
Hsilgos opened this issue Aug 19, 2024 · 1 comment
Open

Internal tag of parent not applied for nested struct (Flutter) #1602

Hsilgos opened this issue Aug 19, 2024 · 1 comment

Comments

@Hsilgos
Copy link
Contributor

Hsilgos commented Aug 19, 2024

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.

@hliberacki
Copy link

Hi @Hsilgos,

As we discussed in #1601, I will try implementing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants