On 2/29/12 5:52 PM, Graydon Hoare wrote:
That's what it means, yeah. "TCP-preserving-return" is a somewhat common
gotcha in languages that have the temerity to mix closures and explicit
flow control.

Yes, I just mean that the way TCP is usually phrased is: "I can convert some expr X into (fn() { X })() and it has precisely the same semantics." Clearly this is not the case here. We (would) support a more limited variant where X is a kind of loop.


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to