Do not return field signature if there's none in the metadata
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
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
- [`KT-25920`](https://youtrack.jetbrains.com/issue/KT-25920) Compile kotlinx-metadata-jvm with JVM target bytecode version 1.6 instead of 1.8
|
||||
- [`KT-25223`](https://youtrack.jetbrains.com/issue/KT-25223) Add JvmFunctionExtensionVisitor.visitEnd
|
||||
- [`KT-26188`](https://youtrack.jetbrains.com/issue/KT-26188) Do not pass field signature for accessor-only properties
|
||||
|
||||
## 0.0.3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user