diff options
author | Jonas Herzig <jonas@spark-squared.com> | 2021-11-12 10:58:10 +0100 |
---|---|---|
committer | Jonas Herzig <jonas@spark-squared.com> | 2021-11-12 15:23:25 +0100 |
commit | 5723e6481d2f4e07b6820201e74924643b5687bc (patch) | |
tree | 8e91c4b8a1e2e59cac1fad71209670309b2f5153 /src/test/java | |
parent | 0e7f8ea1d9ebd42bcd88506e771a8b5a1e9ba0b9 (diff) | |
download | Remap-5723e6481d2f4e07b6820201e74924643b5687bc.tar.gz Remap-5723e6481d2f4e07b6820201e74924643b5687bc.tar.bz2 Remap-5723e6481d2f4e07b6820201e74924643b5687bc.zip |
Fix synthetic property becoming shadowed by field of same name
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/a/pkg/A.java | 5 | ||||
-rw-r--r-- | src/test/java/b/pkg/B.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/test/java/a/pkg/A.java b/src/test/java/a/pkg/A.java index fd177e5..f4a30ef 100644 --- a/src/test/java/a/pkg/A.java +++ b/src/test/java/a/pkg/A.java @@ -62,6 +62,11 @@ public class A extends AParent implements AInterface { public void setterBooleanA(boolean arg) { } + public int conflictingField; + public int getConflictingFieldWithoutConflict() { + return conflictingField; + } + public void aOverloaded() { } diff --git a/src/test/java/b/pkg/B.java b/src/test/java/b/pkg/B.java index b153be4..150ab0b 100644 --- a/src/test/java/b/pkg/B.java +++ b/src/test/java/b/pkg/B.java @@ -62,6 +62,11 @@ public class B extends BParent implements BInterface { public void setterBooleanB(boolean arg) { } + public int conflictingField; + public int getConflictingField() { + return conflictingField; + } + public void bOverloaded() { } |