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

Compile error 'CS8078' when a single class has many export properties #391

Open
Houfeng opened this issue Oct 15, 2024 · 1 comment
Open
Labels
bug Something isn't working build

Comments

@Houfeng
Copy link

Houfeng commented Oct 15, 2024

When a class has many export properties (~800), generate the expression new JSClassBuilder (...).AddProperty(...). AddProperty(...) ... ... It will be very large, causing compilation error CS8078

@Houfeng
Copy link
Author

Houfeng commented Oct 15, 2024

I guess if we don't generate a single chain expression and split it into multiple statements, we should be able to avoid this error (I'm not sure)

@jasongin jasongin added bug Something isn't working build labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build
Projects
None yet
Development

No branches or pull requests

2 participants