Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
gocode: fix off-by-one error (<= instead of <) #184
When deciding whether or not we can apply a suggestion, we used < when we should have
I have tested locally against:
I have included automated tests:
When deciding whether or not we can apply a suggestion, we used < when we should have been using <=. This meant that suggestions could only be completed when at least one character had already been typed of the resulting word.