#KT-22179 Fixed
Non-member descriptors, e.g. type parameters, value parameters that defined in local function should be local too Otherwise a lot of exceptions happens when resolving references within anonymous objects