Note that only irrelevantStaticProperty.kt failed before this change. Having private declarations caused no problems, but it seems incorrect, so it's fixed now and irrelevantPrivateDeclarations is added just in case. #KT-41848 Fixed