diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-30 12:36:50 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-30 12:36:50 +0100 |
commit | 9042009b7f1ba0f85e892ac5184fa4542d0c10f5 (patch) | |
tree | b56e925c4f822f5479350883c87b952300995fc6 /docs/dev | |
parent | be803efb7c7ba257716fcc97c57ecfd07e278b07 (diff) | |
parent | fa1e4113224c119258670538f8c3ca6c8ea8ad1e (diff) |
Merge #5567
5567: SSR: Wrap placeholder expansions in parenthesis when necessary r=matklad a=davidlattimore
e.g. `foo($a) ==> $a.to_string()` should produce `(1 + 2).to_string()` not `1 + 2.to_string()`
We don't yet try to determine if the whole replacement needs to be wrapped in parenthesis. That's harder and I think perhaps less often an issue.
Co-authored-by: David Lattimore <[email protected]>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions