Arrow: [Bug] suspended causes an exception "Already resumed"

Created on 19 Nov 2019  路  3Comments  路  Source: arrow-kt/arrow

As reported in: https://www.reddit.com/r/Kotlin/comments/dvzlv3/arrow_v0103_is_now_available_47_degrees/f7rru38/

Minimal use case: https://gist.github.com/paulosuzart/5e729697aad68ec453658b93ee61b880

In line 33, changing val x = certainClient() to val x = certainClient().k().suspended() causes IllegalStateException: Already resumed

Most helpful comment

That's awesome!! Just checked the changes, nice stuff. Thanks!!

All 3 comments

Thanks for opening the issue.

This repo I used to reproduce the case.

By just doing a curl localhost:8080/parse?keys=124 should be enough to get the exception.

@paulosuzart Thank you for reporting! This issue should be fixed in the next version of Arrow 馃檶

That's awesome!! Just checked the changes, nice stuff. Thanks!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raulraja picture raulraja  路  5Comments

raulraja picture raulraja  路  4Comments

gortiz picture gortiz  路  3Comments

pakoito picture pakoito  路  4Comments

raulraja picture raulraja  路  4Comments