Vsevolod Tolstopyatov
Vsevolod Tolstopyatov
There was not much demand since the original report, so closing as won't fix as there is a clear semantically-meaningful workaround
Would it be okay for you to attach a reproducing project? >I'm trying to upgrade to v1.7.3 Could you please elaborate on what version you are upgrading from?
Pushing it towards the compiler: https://youtrack.jetbrains.com/issue/KT-69283/Incorrect-synthetic-line-numbers-when-inlining-suspend-funs
@lukellmann could you please elaborate on how you've stumbled across this bug? `Mutex` implementing `Semaphore` is a private implementation detail that we cannot hide (or don't want to; it incurs...
Example by Dmitry to better showcase the potential confusion: ``` fun myLock(lockImpl: Any) { when (lockImpl) { is Semaphore -> lockImpl.acquire() is Mutex -> lockImpl.lock() } } fun myUnlock(lockImpl: Any)...
Thanks! I'm on vacation right now, so expect a bit of radio silence from me; I've got what you sent and will return to it later
Thanks for the self-contained reproducer and all the profiles, it made my investigation so much easier 🙇 You hit the weakest spot of the `SharedFlow` collector algorithm -- unfortunately, a...
@alexzhirkevich thank you for a self-contained reproducer!
Thanks for the detailed discussion, especially for the examples of the potential performance issues. The *reasonable* fix for this issue does not seem to be possible for a variety of...
>Now I understand this crash may be caused by invalid usage of the API We typically don't allow `CoroutinesInternalError` for invalid API usages, it's indeed an `Illegal*Exception` in that case....