mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Making delombok compatible with post-resolution transformers meant delombok would fail with a 'duplicate context value' error.
Fixes issue #178 Thanks to Neildo for using the 0.10.0 beta and spotting the problem - the tests don't run 1 delombok with multiple files. Maybe we should change that.
This commit is contained in:
1 parent
1d83020a0c
commit
6d8cee3757
1 file changed
+1
@@ -366,6 +366,7 @@ public class Delombok {
|
||||
|
||||
for (File fileToParse : filesToParse) {
|
||||
Comments comments = new Comments();
|
||||
context.put(Comments.class, (Comments) null);
|
||||
context.put(Comments.class, comments);
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
|
||||
Reference in new issue
Block a user