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

Extended Union Type Isn't Supported #101

Closed
engineerjoe440 opened this issue Nov 26, 2024 · 0 comments · Fixed by #102
Closed

Extended Union Type Isn't Supported #101

engineerjoe440 opened this issue Nov 26, 2024 · 0 comments · Fixed by #102
Assignees
Labels
enhancement New feature or request grammar

Comments

@engineerjoe440
Copy link
Collaborator

I stumbled across something where unions can extend other unions. Turns out that part of the grammar wasn't fully supported.

Here's an example of the broken logic:

TYPE THING EXTENDS THING_BASE:
UNION
	{attribute 'hide' := 'true'}
	As_THING_BASE : THING_BASE;
END_UNION
END_TYPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request grammar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant