Affects Version/s: 1.8.6, 2.0.0
Fix Version/s: None
Number of attachments :
Posted on StackOverflow as well:
So these scenarios all work as expected:
As does this:
This also works, as expected:
The default parameter to the uncurried closure survives the assignment to Klass.
However, this fails:
and similarly, this fails:
With the curried closures, the default parameter value works directly, but is lost when the closure is assigned as a static member of Klass.