Open nrc opened 7 years ago
Triage: Can you give some examples of the current representation and the expected representation please? As it stands it is a bit tricky (at least for me) to understand what exactly needs to be done for this issue to be closed as fixed.
Or maybe this issue can be straight up closed since it is so old and circumstances changed?
The current representation is fine for the HIR, I assume it is optimised for compiler internal stuff. But in the AST, it would be better to be closer to the surface syntax (since that should make parsing, pretty printing, rustdoc, etc. a bit easier). IOW, it is a fine semantic definition, but not a great syntactic definition.