patronum icon indicating copy to clipboard operation
patronum copied to clipboard

Review `condition` types

Open sergeysova opened this issue 5 years ago • 2 comments

image

sergeysova avatar Oct 24 '20 19:10 sergeysova

then and else allows Unit<void> in union (Unit<T> | Unit<void> or Unit<T | void> doesnt matter). When Event<T> passed to else it comes as T assigning to T | void, but also it is requires T | void for else, but passed T.

sergeysova avatar Oct 24 '20 19:10 sergeysova

then and else allows Unit<void> in union (Unit<T> | Unit<void> or Unit<T | void> doesnt matter). When Event<T> passed to else it comes as T assigning to T | void, but also it is requires T | void for else, but passed T.

Could you please reproduce the issue?

ainursharaev avatar Jun 19 '22 19:06 ainursharaev