3345dc81fd
Otherwise this code behaves incorrectly on getter-only properties: it returns a meaningless field signature whereas the property has no field. It's hard to come up with an example of when this could matter in compiler code, but it's very noticeable in kotlinx-metadata-jvm #KT-26188 Fixed
kotlinx-metadata
This is the platform-agnostic part of the Kotlin Metadata library, intended to provide the possibility to read and modify metadata of Kotlin declarations in the binary (.class, .js) files emitted by the Kotlin compiler. This part of the library is currently not released on its own. Please refer to kotlinx-metadata-jvm for instructions on how to load and modify Kotlin Metadata in JVM binaries (.class and .kotlin_module files).