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

Panics with "Alias only expected as top-level type" #30

Open
ctron opened this issue Aug 31, 2023 · 1 comment
Open

Panics with "Alias only expected as top-level type" #30

ctron opened this issue Aug 31, 2023 · 1 comment

Comments

@ctron
Copy link
Contributor

ctron commented Aug 31, 2023

Trying to generate types for the monaco editor, I run into the following panic (after removing the negative enum value):

panicked at 'Alias only expected as top-level type', /work/ts-bindgen-gen/src/ir/flattened.rs:613:37
@abrgr
Copy link
Member

abrgr commented Sep 6, 2023

Thanks for this report. Unfortunately, I am not going to be able to investigate this soon but will update you as soon as I'm able to take a look.

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