Closed io7m closed 7 years ago
@elucash: Any estimated time on when/if you'll get a chance to take a look at this? I'm almost certain it's a bug in the generator, but I've taken a look at the templates and am unfortunately unable to work out how they could yield the above code.
@io7m sorry, was too busy. Can you, please, take a look at the most recent snapshot? I've tried to fix this (test passed) by avoiding inlining of a build method when it's used in the constructor that takes builder.
Can do!
Nice one, that seems to have fixed it!
Any chance you could push a 2.3.11
release, if you have time?
released 2.4.0, currently propagating to Central
https://github.com/io7m/immutables-javaslang-bug-20161226
The generated code ends up as:
I suspect the generated code should be
builder
and notbuilder.this
.@elucash: Is this one a bug in the immutables generator, or in the encodings here?