fishy commented on code in PR #3051:
URL: https://github.com/apache/thrift/pull/3051#discussion_r1797244505


##########
lib/go/test/ClientMiddlewareExceptionTest.thrift:
##########
@@ -25,11 +25,11 @@ exception Exception2 {
 
 // This is a special case, we want to make sure that the middleware don't
 // accidentally pull result as error.
-exception FooResponse {
+struct/*exception*/ FooResponse {      // returning an exception by any means 
other than "throws" is illegal

Review Comment:
   I think I can construct the test differently (construct the go struct 
directly instead of via thrift IDL) to keep the test to do what it does, though.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@thrift.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to