Alex
Alex
@jlink by pre-configured I mean it went through all applicable ArbitraryConfigurator instances available. My usecase is essentially creating an arbitrary that can pass down the configuration info from itself. Imagine...
@jlink somewhat abstracted use-case of mine. Let's assume I have my own real number type: class Money(integer: long, fraction: long) extends Number And I have configurator I call small, that...
@jlink > Configurators are not handed down to an arbitrary‘s children. They are not but they are easily accessible on a parent instance and once instantiated annotation doesn't hold any...
@jlink this is what I do today. With a minor tweak that my `addAnnotations` is essentially just manually calling to configurer, I.e.: ``` private final SmallConfigurer configurer = new SmallConfigurer()...
@jlink my original thought was (and TBH I still think it's the best of all options) to consider annotation instances added onto `TypeUsage` to look up configurations: ```java Arbitraries.defaultFor(TypeUsage.of(MyClass.class).withAnnotation()) ```...
@jlink > This one already works, if you can grab an instance of an annotation from somewhere. hmmm, indeed... Though I think it messes with the cashes again in some...
It started happening after I introduced some tests using jqwik-testing. Removing tests removes the issue. 🤷
@jlink latwst released. 1.7.4 I'm not sure how SBT runs unit tests, I need to check. Instead of CME, sometimes it's becomes ArrayIndexOutOfBoundException in the same class. Something there is...
Let me check. This is ArrayIndexOutOfBoundsException BTW for completeness: ``` java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3, took 0.156s [error] at java.util.LinkedHashMap.valuesToArray(LinkedHashMap.java:555) [error] at java.util.LinkedHashMap$LinkedValues.toArray(LinkedHashMap.java:635) [error] at java.util.ArrayList.(ArrayList.java:181)...
@jlink can confirm that `Test / parallelExecution := false` fixes this issue in SBT.