| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Recognise &mut as variable modification.
This allows extracting functions with
`&mut var` with `var` being in outer scope
|
|
|
|
|
| |
It currently allows only directly setting variable.
No `&mut` references or methods.
|
|
|
|
|
| |
when variable is defined inside extracted body
export this variable to original scope via return value(s)
|
| |
|
| |
|
|
|
|
| |
before child getter was used
|
|
|
|
|
| |
currently mut refernce will *not* be downgraded to shared
if it is sufficient(see relevant test for example)
|
|
there are a few currently limitations:
* no modifications of function body
* does not handle mutability and references
* no method support
* may produce incorrect results
|