about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorDavid Lattimore <dml@google.com>2020-07-29 21:23:39 +1000
committerDavid Lattimore <dml@google.com>2020-07-30 20:32:01 +1000
commitfa1e4113224c119258670538f8c3ca6c8ea8ad1e (patch)
tree7e7ca39c87ee0bddfd9a870db791bb34ea69560c /docs/dev/debugging.md
parent570fdf26c90758c04b90fadfe1b0e6ee684c6dbe (diff)
downloadrust-fa1e4113224c119258670538f8c3ca6c8ea8ad1e.tar.gz
rust-fa1e4113224c119258670538f8c3ca6c8ea8ad1e.zip
SSR: Wrap placeholder expansions in parenthesis when necessary
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.
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions