You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I argued in this blog post that this would be an improvement. Everyone seemed to agree. Nominating for milestone. I couldn't find an existing bug on this precise topic, but let me know if there is one.
The text was updated successfully, but these errors were encountered:
In terms of the compiler, this is mostly a matter of modifying the type checker so that for statements have unit type, and modifying trans to ignore the return value.
Closes#6183.
The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout.
The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
I argued in this blog post that this would be an improvement. Everyone seemed to agree. Nominating for milestone. I couldn't find an existing bug on this precise topic, but let me know if there is one.
The text was updated successfully, but these errors were encountered: