Fixing code completion in function literal parameters

 #KT-4047 Fixed
 #KT-5877 Fixed