Victor Rendina

Results 9 comments of Victor Rendina

I believe this would resolve the issue: ``` private typealias ResultProducer = suspend CoroutineScope.() -> Result private typealias Producer = suspend CoroutineScope.() -> T ``` But is probably not the...

> I actually don't think that will be a breaking change The current type signature for `retryResult` (without the typealias) is: ``` suspend fun retryResult( policy: RetryPolicy = constantDelay(50) +...

@pdvrieze yeah I can see that in the arrays that are passed to the `SealedClassSerializer`. The compiler doesn't really like having a large array passed into the constructor. For the...

> Creating those arrays doesn't look like code, but it is actually code in the constructor which has a code size limit. I suspect that your map code is somewhat...

> You can shard the content into additional functions after so many elements. That way only these extreme cases pay for it. I was just going to reference this wire...

As a quick PoC of @JakeWharton's suggestion I tried creating a serializer for a 5,000 item sealed class by chunking the serializer lookup map creation in 1,000 item functions and...

We just came across this same issue and were able to work around it by adding a focusable parent. With a focusable parent the test passes and the logs look...

While searching through issues I came across https://github.com/robolectric/robolectric/issues/7461#issuecomment-1537561196 and found that adding `@GraphicsMode(GraphicsMode.Mode.NATIVE)` resolved the issue without any workarounds. I have no idea why using RNG solves a focus issue...

> I don't know if there are any caveats or issues in using the native mode by default though. I updated our Gradle file to apply native graphics by default...