Repository navigation
Add ending line and column to Location.kt - #5032
Conversation
d13d9a0 to
dacb224
Compare
BraisGabin
left a comment
There was a problem hiding this comment.
- Is it necessary to change the name of parameters, for example
startSourceandendSource?
I don't think so. That would introduce even more breaking changes in the api for little benefit.
- Should the order of the parameters be changed?
That's up to you. You will need to create a new constructor matching the old one to avoid breaking the api so it's OK don't add it as the first one.
- Should
compact()string representation be updated?
No
- Should there be a test for such trivia?
I don't think so. You are just adding a parameter.
But I would change the code inside core to inform this new value in this same pr. This way we can see that this is the change that we need.
|
Hey @BraisGabin Thanks for clarifying things. |
Sorry, I'm afraid I didn't get it. What core are you talking about? |
I was on my mobile and clearly I dind't explain myself. You are adding the ability to store endSource inside Open question, mainly for maintainers. What do you think about a
|
Now I see. |
|
Thanks :) this looks great |
|
👍 |
Close #5025
Added
endSourceas the last parameter in theLocationconstructor.I need some guidelines:
startSourceandendSource?compact()string representation be updated?This could trigger changes in many files.