Skip to content

"Invalid cast" on some uses of bottom #895

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

Closed
jruderman opened this issue Sep 10, 2011 · 1 comment
Closed

"Invalid cast" on some uses of bottom #895

jruderman opened this issue Sep 10, 2011 · 1 comment

Comments

@jruderman
Copy link
Contributor

fn main() { log_err fail; }

gives

Assertion failed: (S->getType()->isPointerTy() && "Invalid cast"), function getPointerCast, file Constants.cpp, line 1275.
@brson
Copy link
Contributor

brson commented Sep 10, 2011

Probably the same problem: there's a failing test case for 'log ret' in run-pass/wierd-exprs.rs

ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
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

3 participants