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

Recursive bundling tries to import submodules #1058

Closed
maximebuyse opened this issue Oct 28, 2024 · 0 comments · Fixed by #1062
Closed

Recursive bundling tries to import submodules #1058

maximebuyse opened this issue Oct 28, 2024 · 0 comments · Fixed by #1062
Labels
bug Something isn't working engine Issue in the engine

Comments

@maximebuyse
Copy link
Contributor

mod a {
    pub fn f () {
        super::b::i()
    }
    pub mod aa {
        pub fn g(){}
    }
}

mod b {
    pub fn i() {super::a::f()}
}

Open this code snippet in the playground

In the generated code for module a we have include Playground.A.Rec_bundle_927482861 {aa as aa}. This shouldn't be here and doesn't lax-check.

The fix for this should be similar to #1030

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine Issue in the engine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant