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

Calling a function in for-each position triggers llvm assertion #796

Closed
msullivan opened this issue Aug 3, 2011 · 0 comments
Closed

Calling a function in for-each position triggers llvm assertion #796

msullivan opened this issue Aug 3, 2011 · 0 comments
Labels
A-type-system Area: Type system

Comments

@msullivan
Copy link
Contributor

fn f() -> int { ret 4; }
fn main() { for each i in f() { } }

This should fail in the typechecker.

@ghost ghost assigned msullivan Aug 3, 2011
@msullivan msullivan removed their assignment Jun 16, 2014
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add getservbyname, getprotobyname, and related structs
marysaka pushed a commit to sunriseos/rust that referenced this issue Oct 20, 2019
Apply snap of bootstrap compiler in rust-lang/rust

FWIW, in the future we should try to avoid this as I'm assuming we'll break CI trying to land this here (and we can't swap bootstrap compilers in Rust until this lands).
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
ZuseZ4 added 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
A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

1 participant