mozilla/rust — pull request #3879 by catamorphism (2012-10-28 00:58:23+00:00)
Title: Issue 1458

This is a pull request to implement @graydon 's suggestion, way back in #1458, of preserving parenthesization in the AST.

I have the feeling that WRT trans and typeck, there could be fewer explicit special cases for ```expr_paren```. This has something to do with the ```adjustments``` table in the type context, and I don't entirely understand how it works. At any rate, this passes tests. Suggestions welcome.

Unfortunately, the test from #1458 still doesn't work, for apparently-separate reasons.

r? @graydon