Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 8078 - receiveOnly exceptions should be informative #1062

Merged
merged 1 commit into from Jan 10, 2013
Merged

Issue 8078 - receiveOnly exceptions should be informative #1062

merged 1 commit into from Jan 10, 2013

Conversation

ghost
Copy link

@ghost ghost commented Jan 9, 2013

http://d.puremagic.com/issues/show_bug.cgi?id=8078

Odd that there were no unittests for receiveOnly.

@ghost
Copy link
Author

ghost commented Jan 9, 2013

Btw, some messages won't look pretty but will at least be informative:

Unexpected message type: expected '(string, int)', got 'std.typecons.Tuple!(int, int).Tuple'

Can't do much about that, unless someone knows of a better way to peek at the Variant type and extract a nice-looking string representation.

@alexrp
Copy link
Member

alexrp commented Jan 9, 2013

Failing on Win32.

@ghost
Copy link
Author

ghost commented Jan 9, 2013

I see what's going on, I had a dangling send statement after the catch.

@ghost
Copy link
Author

ghost commented Jan 9, 2013

Tests now pass.

alexrp added a commit that referenced this pull request Jan 10, 2013
Issue 8078 - receiveOnly exceptions should be informative
@alexrp alexrp merged commit f1ad5d3 into dlang:master Jan 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants