Generics Value Type ?
Srikanth
srikanth.adayapalam at oracle.com
Tue Jun 26 14:29:35 UTC 2018
Hi Remi,
Thanks for the test case. I'll follow up.
Srikanth
On Tuesday 26 June 2018 06:55 PM, Remi Forax wrote:
> public final __ByValue class GenBug<E> {
> private final boolean value;
>
> private GenBug() {
> value = false;
> throw new AssertionError();
> }
>
> public static <E> GenBug<E> create() {
> GenBug<E> bug = __MakeDefault GenBug<E>();
> bug = __WithField(bug.value, true);
> return bug;
> }
> }
More information about the valhalla-dev
mailing list