-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rename refactor #202
rename refactor #202
Conversation
xref: JunoLab/atom-julia-client#641 |
woa, travis has been revived ! :) |
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
==========================================
- Coverage 39.52% 37.48% -2.05%
==========================================
Files 36 37 +1
Lines 1824 1934 +110
==========================================
+ Hits 721 725 +4
- Misses 1103 1209 +106
Continue to review full report at Codecov.
|
catch err | ||
return Dict(:error => errdescription(old, new, err)) | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree the logic here would look messy, so please feel free to ask me if you have anything unsure -- I probably miss some edge cases.
Here are some edge cases I've noticed but still I'm not sure about how to handle. local refactoringIf we have the code like: function outer()
val = 10
function inner(val)
2 * val
end
return inner(val)
end and we refactor on global refactoringIf a module contains code like: function fun() end
function other()
fun = 10
end and we rename |
Damn, I missed to push to the master ! Will try to revert all the commits. |
UPDATED: moved to #203
Purpose
Implement rename refactoring command:
Approach
Task / Achievements
Atom.isdebugging()
,Base.countlines(args...)