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

C# can't handle Voldermort type #177

Open
atilaneves opened this issue Dec 4, 2019 · 0 comments
Open

C# can't handle Voldermort type #177

atilaneves opened this issue Dec 4, 2019 · 0 comments
Labels
bug Something isn't working C# C# wrapping

Comments

@atilaneves
Copy link
Collaborator

Putting this code is a module where everything is wrapped (e.g. wrap_all.d in the simple example) causes autowrap C# to not compile:

    auto mychain(Ranges...)(Ranges ranges) {

        static struct Oops {
            import std.meta: staticMap;
            import std.traits: Unqual;
            alias R = staticMap!(Unqual, Ranges);
        }

        return Oops();
    }

    auto chainy() {
        import std.range: iota;
        return mychain(5.iota, 7.iota);

    }
@atilaneves atilaneves added bug Something isn't working C# C# wrapping labels Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C# C# wrapping
Projects
None yet
Development

No branches or pull requests

1 participant