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

codegen should issue a diagnostic for a present but blank name on a field #795

Open
ab9rf opened this issue Aug 11, 2024 · 1 comment
Open

Comments

@ab9rf
Copy link
Member

ab9rf commented Aug 11, 2024

alternatively, it should delete them and let the usual anon handling take place

right now, if an field element has name='' then codegen.out.xml will have a blank name attribute but no ld:anon-name attribute (as is generated if name is absent). while the headers get an anon name in the expected manner, codegen.out.xml fails to reflect what is generated in headers, which shouldn't happen

related discord discussion

@lethosor
Copy link
Member

We should probably also disallow this in the schema, if that's possible.

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