#KT-64989
Report the nearest invisible containing declaration in cases where the declaration itself is visible. #KT-53820 Fixed