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

Support UNION structs in type analysis #241

Open
raehik opened this issue Sep 2, 2022 · 0 comments
Open

Support UNION structs in type analysis #241

raehik opened this issue Sep 2, 2022 · 0 comments

Comments

@raehik
Copy link
Collaborator

raehik commented Sep 2, 2022

Analysis.Types skips handling UNION structs. This means further processing doesn't have any information about that struct's structure, so certain statements can't be typed properly.

#238 found a runtime error that occurs when the type analysis finds an in-array assignment to a UNION struct: type information is missing, so it made a default decision which included an erroneous operation. The defaulting is now more careful, but we're still unable to type the statement properly without information on the union.

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