228e329d1f
There was a typo in JvmLocalClassPopupLowering which allowed the EnclosingMethod for lambdas and anonymous classes in initializers to become any function in a class, in case when there was no primary constructor in that class. E.g. in the added test, `getIrrelevantField` was the EnclosingMethod of the lambda class before this change.