mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
fixed Issue 233:
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
This commit is contained in:
1 parent
4b9a8142d0
commit
68b079d312
5 files changed
+31
-9
No files matched your search
@@ -3,6 +3,7 @@ enum Ranks {
|
||||
HEARTS,
|
||||
DIAMONDS,
|
||||
SPADES;
|
||||
;
|
||||
}
|
||||
enum Complex {
|
||||
RED("ff0000"),
|
||||
|
||||
Reference in new issue
Block a user