-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve debugging experience of leaked shift calls #2884
Conversation
Kover Report
|
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/continuations/Effect.kt
Outdated
Show resolved
Hide resolved
|
||
|
||
// Add AtomicBoolean to arrow-atomic | ||
val isActive: AtomicRef<Boolean> = AtomicRef(true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit worried about exposing the AtomicRef
directly. Is it possible to make this internal
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is inside an internal class
so it's internal
by inheriting the visibility modifier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it shows in the arrow-core.api
file... 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's because internal
is public in the (Java) binary 😭 Such visibility modifier doesn't exist on the JVM, and we cannot make it private
.
…ntinuations/Effect.kt Co-authored-by: Francisco Diaz <francisco.d@47deg.com>
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/continuations/Effect.kt
Outdated
Show resolved
Hide resolved
…ntinuations/Effect.kt Co-authored-by: Francisco Diaz <francisco.d@47deg.com>
Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
Co-authored-by: Alejandro Serrano <trupill@gmail.com>
Co-authored-by: Simon Vergauwen <nomisRev@users.noreply.github.com>
@serras I was able to get rid of |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.arrow-kt:arrow-fx-coroutines](https://togithub.com/arrow-kt/arrow) | `1.1.3` -> `1.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.arrow-kt:arrow-fx-coroutines/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.arrow-kt:arrow-fx-coroutines/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.arrow-kt:arrow-fx-coroutines/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.arrow-kt:arrow-optics-ksp-plugin](https://togithub.com/arrow-kt/arrow) | `1.1.3` -> `1.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.arrow-kt:arrow-optics-ksp-plugin/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.arrow-kt:arrow-optics](https://togithub.com/arrow-kt/arrow) | `1.1.3` -> `1.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.arrow-kt:arrow-optics/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.arrow-kt:arrow-optics/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.arrow-kt:arrow-optics/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.arrow-kt:arrow-optics/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.arrow-kt:arrow-core](https://togithub.com/arrow-kt/arrow) | `1.1.3` -> `1.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.arrow-kt:arrow-core/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.arrow-kt:arrow-core/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.arrow-kt:arrow-core/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.arrow-kt:arrow-core/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [io.arrow-kt:arrow-stack](https://togithub.com/arrow-kt/arrow) | `1.1.3` -> `1.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.arrow-kt:arrow-stack/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.arrow-kt:arrow-stack/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.arrow-kt:arrow-stack/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.arrow-kt:arrow-stack/1.1.3/1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>arrow-kt/arrow (io.arrow-kt:arrow-fx-coroutines)</summary> ### [`v1.2.0`](https://togithub.com/arrow-kt/arrow/releases/tag/1.2.0) [Compare Source](https://togithub.com/arrow-kt/arrow/compare/1.1.5...1.2.0) ##### What's Changed - Add CNAME file to Dokka output by [@​franciscodr](https://togithub.com/franciscodr) in [https://github.com/arrow-kt/arrow/pull/3029](https://togithub.com/arrow-kt/arrow/pull/3029) - Remove legacy site code by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3030](https://togithub.com/arrow-kt/arrow/pull/3030) - Update README by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3033](https://togithub.com/arrow-kt/arrow/pull/3033) - Cancel previous PR action on new commit by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3032](https://togithub.com/arrow-kt/arrow/pull/3032) - Remove legacy script files by [@​franciscodr](https://togithub.com/franciscodr) in [https://github.com/arrow-kt/arrow/pull/3034](https://togithub.com/arrow-kt/arrow/pull/3034) - Ensure optics type with "data" modifier is a class by [@​DeoTimeTheGithubUser](https://togithub.com/DeoTimeTheGithubUser) in [https://github.com/arrow-kt/arrow/pull/3036](https://togithub.com/arrow-kt/arrow/pull/3036) - Update all dependencies (major) by [@​renovate](https://togithub.com/renovate) in [https://github.com/arrow-kt/arrow/pull/3042](https://togithub.com/arrow-kt/arrow/pull/3042) - Remove test dependency from Arrow Fx by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3046](https://togithub.com/arrow-kt/arrow/pull/3046) - Bump Kotlin, KSP and coroutines version by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3047](https://togithub.com/arrow-kt/arrow/pull/3047) - fix mapIndexed when collecting multiple times by [@​hoc081098](https://togithub.com/hoc081098) in [https://github.com/arrow-kt/arrow/pull/3056](https://togithub.com/arrow-kt/arrow/pull/3056) - Update versions by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3058](https://togithub.com/arrow-kt/arrow/pull/3058) - optics ksp plugin: fixed handling of variance ([#​3057](https://togithub.com/arrow-kt/arrow/issues/3057)) by [@​vladd-g](https://togithub.com/vladd-g) in [https://github.com/arrow-kt/arrow/pull/3060](https://togithub.com/arrow-kt/arrow/pull/3060) - Fixes recover inconsistency with raise DSL on types other than Either by [@​yoxjames](https://togithub.com/yoxjames) in [https://github.com/arrow-kt/arrow/pull/3052](https://togithub.com/arrow-kt/arrow/pull/3052) - Change NonEmptySet type parameter name from T to A by [@​franciscodr](https://togithub.com/franciscodr) in [https://github.com/arrow-kt/arrow/pull/3062](https://togithub.com/arrow-kt/arrow/pull/3062) - Add withError and (Eager)Effect.mapError by [@​kyay10](https://togithub.com/kyay10) in [https://github.com/arrow-kt/arrow/pull/3059](https://togithub.com/arrow-kt/arrow/pull/3059) - Update versions of several libraries by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3017](https://togithub.com/arrow-kt/arrow/pull/3017) - Add merge builder for raise by [@​kyay10](https://togithub.com/kyay10) in [https://github.com/arrow-kt/arrow/pull/3061](https://togithub.com/arrow-kt/arrow/pull/3061) - Update all dependencies by [@​renovate](https://togithub.com/renovate) in [https://github.com/arrow-kt/arrow/pull/3065](https://togithub.com/arrow-kt/arrow/pull/3065) - Update dependency gradle to v8.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/arrow-kt/arrow/pull/3070](https://togithub.com/arrow-kt/arrow/pull/3070) - Fix warnings of single-subclass sealed classes by [@​jooohn](https://togithub.com/jooohn) in [https://github.com/arrow-kt/arrow/pull/3067](https://togithub.com/arrow-kt/arrow/pull/3067) - KDoc for `Raise#raise`, `Raise#ensure` and `Raise#ensureNotNull` by [@​ILIYANGERMANOV](https://togithub.com/ILIYANGERMANOV) in [https://github.com/arrow-kt/arrow/pull/3038](https://togithub.com/arrow-kt/arrow/pull/3038) - Fix text repetition in EffectScope's deprecation message by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3072](https://togithub.com/arrow-kt/arrow/pull/3072) - Introduce `NonEmptyCollection` by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3068](https://togithub.com/arrow-kt/arrow/pull/3068) - Set up Spotless by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3075](https://togithub.com/arrow-kt/arrow/pull/3075) - Update all dependencies by [@​renovate](https://togithub.com/renovate) in [https://github.com/arrow-kt/arrow/pull/3079](https://togithub.com/arrow-kt/arrow/pull/3079) - Add option to disable `inline` when using `@optics` by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3078](https://togithub.com/arrow-kt/arrow/pull/3078) - Update JS versions in `yarn.lock` by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3084](https://togithub.com/arrow-kt/arrow/pull/3084) - Enable Automatic Modules for JVM by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3071](https://togithub.com/arrow-kt/arrow/pull/3071) - Serialization module by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3077](https://togithub.com/arrow-kt/arrow/pull/3077) - Add missing docs for `Raise` operations by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3082](https://togithub.com/arrow-kt/arrow/pull/3082) - Add mapOrAccumulate extension in RaiseAccumulate by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3086](https://togithub.com/arrow-kt/arrow/pull/3086) - Additional tests for `copy` in Optics by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3089](https://togithub.com/arrow-kt/arrow/pull/3089) - Apply Gradle Versioning in top project by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3092](https://togithub.com/arrow-kt/arrow/pull/3092) - Add missing Versioning plug-in to `arrow-core-retrofit` by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3093](https://togithub.com/arrow-kt/arrow/pull/3093) - Update `arrow-gradle-config` to 0.12-rc.4 by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3094](https://togithub.com/arrow-kt/arrow/pull/3094) - MemoizedDeepRecursiveFunction by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/3091](https://togithub.com/arrow-kt/arrow/pull/3091) - Add reset and barrierAction to CyclicBarrier. by [@​HSAR](https://togithub.com/HSAR) in [https://github.com/arrow-kt/arrow/pull/3055](https://togithub.com/arrow-kt/arrow/pull/3055) - \[HOTFIX] Fix main publish by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/3095](https://togithub.com/arrow-kt/arrow/pull/3095) ##### New Contributors - [@​DeoTimeTheGithubUser](https://togithub.com/DeoTimeTheGithubUser) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3036](https://togithub.com/arrow-kt/arrow/pull/3036) - [@​vladd-g](https://togithub.com/vladd-g) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3060](https://togithub.com/arrow-kt/arrow/pull/3060) - [@​yoxjames](https://togithub.com/yoxjames) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3052](https://togithub.com/arrow-kt/arrow/pull/3052) - [@​kyay10](https://togithub.com/kyay10) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3059](https://togithub.com/arrow-kt/arrow/pull/3059) - [@​jooohn](https://togithub.com/jooohn) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3067](https://togithub.com/arrow-kt/arrow/pull/3067) - [@​ILIYANGERMANOV](https://togithub.com/ILIYANGERMANOV) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3038](https://togithub.com/arrow-kt/arrow/pull/3038) - [@​HSAR](https://togithub.com/HSAR) made their first contribution in [https://github.com/arrow-kt/arrow/pull/3055](https://togithub.com/arrow-kt/arrow/pull/3055) **Full Changelog**: arrow-kt/arrow@1.2.0-RC...1.2.0 ### [`v1.1.5`](https://togithub.com/arrow-kt/arrow/releases/tag/1.1.5) [Compare Source](https://togithub.com/arrow-kt/arrow/compare/1.1.4...1.1.5) #### What's Changed - Remove `test` modules by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2874](https://togithub.com/arrow-kt/arrow/pull/2874) - Mention Arrow 2.0 in README by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2878](https://togithub.com/arrow-kt/arrow/pull/2878) - Prisms for Either by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2877](https://togithub.com/arrow-kt/arrow/pull/2877) - Test 1.8.0 on CI by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2864](https://togithub.com/arrow-kt/arrow/pull/2864) - Implement 'align' using 'buildList' by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2886](https://togithub.com/arrow-kt/arrow/pull/2886) - Improve debugging experience of leaked shift calls by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2884](https://togithub.com/arrow-kt/arrow/pull/2884) - Fix knitCheck & re-add check by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2887](https://togithub.com/arrow-kt/arrow/pull/2887) **Full Changelog**: arrow-kt/arrow@1.1.4...1.1.5 ### [`v1.1.4`](https://togithub.com/arrow-kt/arrow/releases/tag/1.1.4) [Compare Source](https://togithub.com/arrow-kt/arrow/compare/1.1.3...1.1.4) #### What's Changed - \[2743] Migrate internal use of CircuitBreaker double to duration by [@​mjmoore](https://togithub.com/mjmoore) in [https://github.com/arrow-kt/arrow/pull/2748](https://togithub.com/arrow-kt/arrow/pull/2748) - Fix typo by [@​valery1707](https://togithub.com/valery1707) in [https://github.com/arrow-kt/arrow/pull/2824](https://togithub.com/arrow-kt/arrow/pull/2824) - Make the server disconnect test more general by [@​lukasz-kalnik-gcx](https://togithub.com/lukasz-kalnik-gcx) in [https://github.com/arrow-kt/arrow/pull/2822](https://togithub.com/arrow-kt/arrow/pull/2822) - Update NonEmptyList.fromList deprecation to suggest `toOption()` instead by [@​StylianosGakis](https://togithub.com/StylianosGakis) in [https://github.com/arrow-kt/arrow/pull/2832](https://togithub.com/arrow-kt/arrow/pull/2832) - Improve Either.getOrHandle() docs by [@​lukasz-kalnik-gcx](https://togithub.com/lukasz-kalnik-gcx) in [https://github.com/arrow-kt/arrow/pull/2833](https://togithub.com/arrow-kt/arrow/pull/2833) - Correct `addressStrees` -> `addressStreet` in optics documentation by [@​vikrem](https://togithub.com/vikrem) in [https://github.com/arrow-kt/arrow/pull/2836](https://togithub.com/arrow-kt/arrow/pull/2836) - Arrow Fx: deprecate Platform#composeError, never and unit() by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2837](https://togithub.com/arrow-kt/arrow/pull/2837) - Backport Optics KSP plugin NPE on multiplatform fix by [@​cvb941](https://togithub.com/cvb941) in [https://github.com/arrow-kt/arrow/pull/2840](https://togithub.com/arrow-kt/arrow/pull/2840) - Refactor - [#​2812](https://togithub.com/arrow-kt/arrow/issues/2812) sequence separate performance by [@​Khepu](https://togithub.com/Khepu) in [https://github.com/arrow-kt/arrow/pull/2818](https://togithub.com/arrow-kt/arrow/pull/2818) - Use `super` equals and hashCode overrides for NonEmptyList by [@​RusticFlare](https://togithub.com/RusticFlare) in [https://github.com/arrow-kt/arrow/pull/2825](https://togithub.com/arrow-kt/arrow/pull/2825) - Resource API deprecation, and preparation for 2.x.x. & back port improvements by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2847](https://togithub.com/arrow-kt/arrow/pull/2847) - introduce iterable.toNonEmptyListOrNone() by [@​myuwono](https://togithub.com/myuwono) in [https://github.com/arrow-kt/arrow/pull/2843](https://togithub.com/arrow-kt/arrow/pull/2843) - \[PROPOSAL] Either API deprecation, and preparation for 2.x.x by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2830](https://togithub.com/arrow-kt/arrow/pull/2830) - Use major versions in GitHub Actions by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2849](https://togithub.com/arrow-kt/arrow/pull/2849) - Weaken Either monoid dependencies to only require a semigroup on left by [@​mjvmroz](https://togithub.com/mjvmroz) in [https://github.com/arrow-kt/arrow/pull/2845](https://togithub.com/arrow-kt/arrow/pull/2845) - Do not reuse the name of the file in Optics KSP by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2850](https://togithub.com/arrow-kt/arrow/pull/2850) - Additional deprecations, and backports for JVM by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2856](https://togithub.com/arrow-kt/arrow/pull/2856) - Update various versions by [@​serras](https://togithub.com/serras) in [https://github.com/arrow-kt/arrow/pull/2852](https://togithub.com/arrow-kt/arrow/pull/2852) - Add CountDownLatch by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2854](https://togithub.com/arrow-kt/arrow/pull/2854) - Add CyclicBarrier by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2857](https://togithub.com/arrow-kt/arrow/pull/2857) - Temp rollback error handling deprecations until 1.2.x by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2858](https://togithub.com/arrow-kt/arrow/pull/2858) - Setup Kover as test coverage tool by [@​MarkMarkyMarkus](https://togithub.com/MarkMarkyMarkus) in [https://github.com/arrow-kt/arrow/pull/2793](https://togithub.com/arrow-kt/arrow/pull/2793) - Fix Monad.either binary combat by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2867](https://togithub.com/arrow-kt/arrow/pull/2867) - Backport: MPP No Trace by [@​nomisRev](https://togithub.com/nomisRev) in [https://github.com/arrow-kt/arrow/pull/2869](https://togithub.com/arrow-kt/arrow/pull/2869) #### New Contributors - [@​mjmoore](https://togithub.com/mjmoore) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2748](https://togithub.com/arrow-kt/arrow/pull/2748) - [@​valery1707](https://togithub.com/valery1707) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2824](https://togithub.com/arrow-kt/arrow/pull/2824) - [@​lukasz-kalnik-gcx](https://togithub.com/lukasz-kalnik-gcx) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2822](https://togithub.com/arrow-kt/arrow/pull/2822) - [@​StylianosGakis](https://togithub.com/StylianosGakis) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2832](https://togithub.com/arrow-kt/arrow/pull/2832) - [@​vikrem](https://togithub.com/vikrem) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2836](https://togithub.com/arrow-kt/arrow/pull/2836) - [@​cvb941](https://togithub.com/cvb941) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2840](https://togithub.com/arrow-kt/arrow/pull/2840) - [@​RusticFlare](https://togithub.com/RusticFlare) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2825](https://togithub.com/arrow-kt/arrow/pull/2825) - [@​mjvmroz](https://togithub.com/mjvmroz) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2845](https://togithub.com/arrow-kt/arrow/pull/2845) - [@​MarkMarkyMarkus](https://togithub.com/MarkMarkyMarkus) made their first contribution in [https://github.com/arrow-kt/arrow/pull/2793](https://togithub.com/arrow-kt/arrow/pull/2793) **Full Changelog**: arrow-kt/arrow@1.1.3...1.1.4-rc.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/elide-dev/elide). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6InYzIn0=-->
Currently it's possible to leak
shift
, and it results inCancellationException
.This PR proposes to turn that into
IllegalStateException
such that it's not dealt with like a special case by Structured Concurrency and we can also provide a more descriptive error message.