fix scala completion when proposal is not a method

fixes #369