mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 16:21:25 +00:00
[Issue 281] added test
This commit is contained in:
@@ -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