mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 22:14:53 +00:00
[Issue 281] added test
This commit is contained in:
1 parent
64ff254b65
commit
2d39470469
2 files changed
+15
No files matched your search
@@ -29,5 +29,13 @@ public class ValLessSimple {
|
||||
}
|
||||
}
|
||||
|
||||
private void testValInCatchBlock() {
|
||||
try {
|
||||
val x = 1 / 0;
|
||||
} catch (ArithmeticException e) {
|
||||
val y = 0;
|
||||
}
|
||||
}
|
||||
|
||||
private String field = "field";
|
||||
}
|
||||
Reference in new issue
Block a user