diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-12 01:50:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-12 01:50:17 +0100 |
commit | fd64adb9f0320310a2f7cea909a9abd56624ed82 (patch) | |
tree | e0acfc541be3763c84a478c9c8191aa0e3ae34a5 /test/transform/resource/before | |
parent | 3c9e4770b38de4ac3df51c696562b3ff212cba05 (diff) | |
parent | ea14879df8492613f563b9130667ae3d0c3719e1 (diff) | |
download | lombok-fd64adb9f0320310a2f7cea909a9abd56624ed82.tar.gz lombok-fd64adb9f0320310a2f7cea909a9abd56624ed82.tar.bz2 lombok-fd64adb9f0320310a2f7cea909a9abd56624ed82.zip |
Merge pull request #3288 from Rawi01/val-default-method
Use real type for enclosing class
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ValSuperDefaultMethod.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValSuperDefaultMethod.java b/test/transform/resource/before/ValSuperDefaultMethod.java new file mode 100644 index 00000000..93bcb153 --- /dev/null +++ b/test/transform/resource/before/ValSuperDefaultMethod.java @@ -0,0 +1,16 @@ +// version :9 +import lombok.val; + +class ValSuperDefaultMethod implements Default { + public void test() { + val a = ""; + Default.super.method(); + } + +} + +interface Default { + default void method() { + + } +}
\ No newline at end of file |