Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 10, 2012 [Issue 8078] New: receiveOnly should tell which type it expected and got on mismatch | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@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: ------- |
January 09, 2013 [Issue 8078] receiveOnly should tell which type it expected and got on mismatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8078 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull AssignedTo|nobody@puremagic.com |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-08 19:10:05 PST --- https://github.com/D-Programming-Language/phobos/pull/1062 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 10, 2013 [Issue 8078] receiveOnly should tell which type it expected and got on mismatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8078 --- Comment #2 from github-bugzilla@puremagic.com 2013-01-10 05:02:00 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/8592a34d4b3f958af2bdadc30f158d67ed286a5a Fixes Issue 8078 - receiveOnly exceptions should be informative. https://github.com/D-Programming-Language/phobos/commit/f1ad5d359c3a37a67fdc83dfcd9a8c64d37a01c6 Merge pull request #1062 from AndrejMitrovic/Fix8078 Issue 8078 - receiveOnly exceptions should be informative -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 10, 2013 [Issue 8078] receiveOnly should tell which type it expected and got on mismatch | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=8078 Alex Rønne Petersen <alex@lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |alex@lycus.org Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation