On 4/25/13 12:08 AM, Alex Bradbury wrote:
On 25 April 2013 06:25, Patrick Walton <[email protected]> wrote:
Note that the refactorings I made resulted in a grammar which isn't that
great for tooling or parsing in many places. In particular the contortions
needed to make `self_ty_and_maybenamed_args` result in an AST that combines
the self type and the type of the first argument together in bizarre ways.

So that implies disallowing self as an identifier might be useful. Are
there other changes of a similar nature that should be considered?

In general I needed to disable keywords as identifiers to make it work. There were a few other minor changes: reducing patterns to literals as discussed in the other thread, and removing the ability to call methods on statements without parentheses.

Patrick

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

Reply via email to