Ticket #7218 (closed feature request: fixed)
No type level distinction between BroadcastTChan and TChan
Description
There is no type level distinction between BroadcastTChan(added in STM 2.4) and TChans. Because of this, readTChan throws a non informative runtime error "blocked indefinitely" when passed a broadcast chan. Can we get this fixed ASAP before it gets cemented into the type system?
Even just a more informative error message would be a huge improvement!
Change History
Note: See
TracTickets for help on using
tickets.
