KT-6081 Chained generic method calls: wrong type inference
 #KT-6081 Fixed