-
Notifications
You must be signed in to change notification settings - Fork 254
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
analyze: add support for some unsupported casts #929
Conversation
5949a50
to
d1e05f3
Compare
a5f5566
to
086183a
Compare
Co-authored-by: Khyber Sen <kkysen@gmail.com>
086183a
to
1fa5dd0
Compare
I rebased this onto I'm not sure if it's worth re-reviewing, since both this and #945 were already approved. @aneksteind, I've re-requested review just in case - feel free to just hit approve if you don't think it's necessary. |
The new commits from #936 LGTM. |
@spernsteiner consider this re-approval 👍 |
This adds various cases to
emit_cast_desc_desc
to eliminate all the "unsupported cast" warnings in the current tests, and also changes "unsupported cast" to a panic. In general, "unsupported cast" normally means we're generating code that won't compile (due to type errors), so this is actually a major error for the rewriter.Currently based on #923; I will rebase onto
master
once that's been merged.