mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 00:14:50 +00:00
[fixes #3242] Use real type for enclosing class
This commit is contained in:
1 parent
731bb18507
commit
ea14879df8
4 files changed
+51
-2
No files matched your search
@@ -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() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user