-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[issue #2140] Reproducing the bug: delombok issue: When you delombok …
…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
1 parent
d9b8b14
commit e33a209
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import java.util.List; | ||
class ArrayAndVarargs { | ||
void test(List<String[]>... foo) { | ||
} | ||
void test2(byte[]... foo) { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import java.util.List; | ||
|
||
class ArrayAndVarargs { | ||
void test(List<String[]>... foo) { | ||
} | ||
|
||
void test2(byte[]... foo) { | ||
} | ||
} |