http://d.puremagic.com/issues/show_bug.cgi?id=8078
Summary: receiveOnly should tell which type it expected and got on mismatch Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-05-10 02:45:37 PDT --- import std.concurrency; void test() { receiveOnly!string(); } void main() { auto tid = spawn(&test); tid.send(1); } std.concurrency.MessageMismatch@std\concurrency.d(235): Unexpected message type Which type was expected? And which type did it receive? This needs to be part of the error message.. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------