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

Fix crash for TypeScript enum in substruct #8430

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

fergushenderson
Copy link
Contributor

See #8299.

With this change, "flatc --ts test.fbs" no longer crashes
and now generates valid-looking TypeScript code.

@github-actions github-actions bot added c++ codegen Involving generating code from schema javascript typescript labels Oct 15, 2024
@KooShnoo
Copy link

KooShnoo commented Jan 7, 2025

I ran into the same crash, your branch fixed it great! Tysm!
x86 macOS Sonoma 14.3.1 (23D60) btw

@dbaileychess dbaileychess enabled auto-merge (squash) January 8, 2025 01:27
@dbaileychess dbaileychess merged commit 99fda81 into google:master Jan 8, 2025
46 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ codegen Involving generating code from schema javascript typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants