Fix && and || associativity.
Somehow, these have always been right-associative, when the natural thing to expect is left-associativity. It now matters when trying to crawl down binary tree to display them properly.
This commit is contained in:
@@ -11,6 +11,5 @@ fn bar() {
|
||||
}
|
||||
|
||||
fn baz() {
|
||||
a || b && c || d
|
||||
a || ( b && c || d )
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user