diff options
| author | David Lattimore <dml@google.com> | 2020-07-26 17:43:47 +1000 |
|---|---|---|
| committer | David Lattimore <dml@google.com> | 2020-07-26 21:58:35 +1000 |
| commit | b3ca36b2d9fe5f2ef27cc19ced232e3168b77a38 (patch) | |
| tree | d7dce0768767f683eae0335a5c27e5cdcf4d7312 /docs/dev/debugging.md | |
| parent | bb587fae1dc169aca2e587bc7876611852186dd5 (diff) | |
| download | rust-b3ca36b2d9fe5f2ef27cc19ced232e3168b77a38.tar.gz rust-b3ca36b2d9fe5f2ef27cc19ced232e3168b77a38.zip | |
SSR: Fix for path resolution of locals
It seems that Semantics::scope, if given a statement node, won't resolve locals that were defined in the current scope, only in parent scopes. Not sure if this is intended / expected behavior, but we work around it for now by finding another nearby node to use as the scope (e.g. the expression inside the EXPR_STMT).
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions
