Hello, I want to contribute to this Up for grabs b...
# kontributors
r
Hello, I want to contribute to this Up for grabs bug https://youtrack.jetbrains.com/issue/KT-21878. How do i go about it?
y
first of all, you need to be able to compile Kotlin and run the tests. you can find instructions in the README. have you done that already?
r
Yes, I have done that already
y
then you just need to add a test that reproduces the problem, implement the fix, make sure the test passes, and send the pull request ­čÖé
r
Thanks @yole
@yole I came up with failure test case, https://youtrack.jetbrains.com/issue/KT-21878#comment=27-2656712, Need some direction on how i can fix this issue.
y
what kind of direction do you need? do you have any specific questions on how the code works? I could tell you which lines to change in order to fix the issue, but then it wouldn't be your contribution
step through the code of the quickfix in the debugger, understand what lines exactly cause the incorrect behavior
r
Thanks @yole. I will figure out the fix.