mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 15:54:05 +00:00
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.