No type level distinction between BroadcastTChan and TChan
|Reported by:||timthelion||Owned by:||simonmar|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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!