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

AST Transformer API issue with children set at construction #374

Open
alessiostalla opened this issue Aug 13, 2024 · 0 comments
Open

AST Transformer API issue with children set at construction #374

alessiostalla opened this issue Aug 13, 2024 · 0 comments

Comments

@alessiostalla
Copy link
Member

I'll open a PR with a test case. The issue is this: calling withChild with a property that (mistakenly) has no setter causes childrenSetAtConstruction to be true, however, if the node factory's constructor is a lambda provided by the user, children will NOT be set at construction and will be silently ignored. I think we should throw a configuration exception in that case.

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

1 participant