Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Kotlin interoperability #52
In Kotlin we want to express something like this:
which is (almost) the equivalent to the following Java code:
What looks easy and works out of the box with Java produces a
We tried to get around this by creating our own provider for BigDecimals, but experienced problems in the aftermath when we had trouble to let our provider correctly work with jqwik constraint annotations (like @BigRange). Probably we are missing some knowledge here . . .
@tmohme Your approach with registering your own provider should also work.
Thx for the super fast reaction :)
Thx for the hint and your offer. As I already wrote, we were probably missing some knowledge (and persistence) here.
I'll play a bit with IntelliJ's Kolin byte-code viewer tomorrow . . . maybe I find out something useful.
Just found out that you can use