diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-02 16:23:06 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-02 16:23:06 +0000 |
commit | 510abef5da1427c542e7b37dcea805c7b022984c (patch) | |
tree | f049cbe7e0653b48bc6003bcb1afd86db4b72cf1 /crates/parser/src/grammar/items | |
parent | 3b347eaa4eae6d15921bd618471576b48c81afef (diff) | |
parent | bfe6a8e71afc0d3bee47261f83647b28eca0aae6 (diff) |
Merge #7130
7130: Add extract_assignment assist r=Jesse-Bakker a=Jesse-Bakker
Add extract-assignment assist (#7006).
Assist is for now only implemented on if/match-statements where the assigment is the last statement in every block,
as for other cases, one would have to check whether the assignment has effects on the rest of the block and
extract a temporary variable for it in the block.
Co-authored-by: Jesse Bakker <[email protected]>
Diffstat (limited to 'crates/parser/src/grammar/items')
0 files changed, 0 insertions, 0 deletions