mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-14 00:23:09 +00:00
Reproduces the bug with recursive generics in builder (issue #1298).
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import java.util.Set;
|
||||
import lombok.Builder;
|
||||
import lombok.Value;
|
||||
|
||||
public class I1298BuilderWithGenerics {
|
||||
interface Inter<T, U extends Inter<T, U>> {}
|
||||
|
||||
@Builder @Value public static class Test<
|
||||
Foo,
|
||||
Bar extends Set<Foo>,
|
||||
Quz extends Inter<Bar, Quz>> {
|
||||
Foo foo;
|
||||
Bar bar;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user