ee9d9d7b32
write$Self in K1 is created only on JVM, so we need this check to avoid creating IR function without original descriptor — it will lead to various bugs in JS and Native, such as superclass properties missing from output when super.writeSelf is not found in descriptor. Fixes #KT-55180