-
Notifications
You must be signed in to change notification settings - Fork 56
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
represent Type as a tagged union #809
Conversation
603ea97
to
9e168a1
Compare
Inspired by the similar changes to the AST (#807) this should finally make Type less painful to use.
This enables parsing function bodies even if the function prototype was invalid.
Slowly getting there... #test-integration:
282 passed; 53 failed.
#test-record:
max mem used = 8.49MiB
8270 passed; 657 failed (518 invalid targets). Looks like there will be a nice bonus 0.4 MiB memory usage drop from #817 (comment) |
I'll allow some record layout tests to regress to get this merged, those can be fixed later when I recover from this. This will almost definitely also regress untested code paths considering how long it took to get the tested ones working again, probably a good time to do some fuzz testing with this and #807 touching so many parts of the compiler. |
Nice work! |
Thanks! |
Inspired by the similar changes to the AST (#807) this should finally make Type less painful to use.
Closes #733