aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-26 01:24:16 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-26 01:26:37 +0100
commit320fbfee4dbf17b0e2c467311e0fd062448321c4 (patch)
tree0f9bea34a9dae4fa478df91df753e0262222b9ec /test/pretty/resource/before
parent33281d857891b24cb1c40233807620769a158bbf (diff)
downloadlombok-320fbfee4dbf17b0e2c467311e0fd062448321c4.tar.gz
lombok-320fbfee4dbf17b0e2c467311e0fd062448321c4.tar.bz2
lombok-320fbfee4dbf17b0e2c467311e0fd062448321c4.zip
[fixes #2049] Delombok now figures out usages of ‘var’ and delomboks them as just ‘var’ instead of their actual type.
Diffstat (limited to 'test/pretty/resource/before')
-rw-r--r--test/pretty/resource/before/Java11Var.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pretty/resource/before/Java11Var.java b/test/pretty/resource/before/Java11Var.java
new file mode 100644
index 00000000..cfbe1989
--- /dev/null
+++ b/test/pretty/resource/before/Java11Var.java
@@ -0,0 +1,7 @@
+//version 11:
+public class Java11Var {
+ public void test() {
+ var b = 10;
+ int c = 11;
+ }
+}