diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2021-11-12 12:58:49 +0100 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2021-11-13 10:28:09 +0100 |
commit | 3ee08cbce94a4e7e1ce668f06f5a612cd9f1e677 (patch) | |
tree | 940042d08d31be55f9c1ea643bf3cf41070121ce /src/testA/kotlin/pkg | |
parent | b30404f156adb6e01bfe4edc50b4de4245ba4509 (diff) | |
download | Remap-3ee08cbce94a4e7e1ce668f06f5a612cd9f1e677.tar.gz Remap-3ee08cbce94a4e7e1ce668f06f5a612cd9f1e677.tar.bz2 Remap-3ee08cbce94a4e7e1ce668f06f5a612cd9f1e677.zip |
Fix mapping of synthetic properties when overridden in Kotlin class
In these cases, the getMethod of the property will not have a Psi element and we
need to traverse up the overrides until we find one that does.
Diffstat (limited to 'src/testA/kotlin/pkg')
-rw-r--r-- | src/testA/kotlin/pkg/Kt.kt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testA/kotlin/pkg/Kt.kt b/src/testA/kotlin/pkg/Kt.kt new file mode 100644 index 0000000..9c42707 --- /dev/null +++ b/src/testA/kotlin/pkg/Kt.kt @@ -0,0 +1,12 @@ +package pkg + +import a.pkg.A + +class Kt : A() { + override fun getSyntheticA(): A { + return this + } + + override fun setSyntheticA(arg: A) { + } +}
\ No newline at end of file |