Skip to content

Commit

Permalink
[issue #2140] Reproducing the bug: delombok issue: When you delombok …
Browse files Browse the repository at this point in the history
…a signature like: `List<byte[]>... arg`, the array brackets are replaced by dots in the delomboked output, which isn’t valid java.
  • Loading branch information
rzwitserloot committed Jun 17, 2019
1 parent d9b8b14 commit e33a209
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/pretty/resource/after/ArrayAndVarargs.java
@@ -0,0 +1,7 @@
import java.util.List;
class ArrayAndVarargs {
void test(List<String[]>... foo) {
}
void test2(byte[]... foo) {
}
}
9 changes: 9 additions & 0 deletions test/pretty/resource/before/ArrayAndVarargs.java
@@ -0,0 +1,9 @@
import java.util.List;

class ArrayAndVarargs {
void test(List<String[]>... foo) {
}

void test2(byte[]... foo) {
}
}

0 comments on commit e33a209

Please sign in to comment.